Skip to main content
POST
https://ageneral.ai
/
v1
/
projects
/
{project_id}
/
budget
Set project budget
curl --request POST \
  --url https://ageneral.ai/v1/projects/{project_id}/budget \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": "<string>",
  "maxBudgetUsd": 123
}
'

Authorizations

Authorization
string
header
required

Ageneral session JWT. Obtain through web sign-in or extension OAuth.

Path Parameters

project_id
string
required

Body

application/json
projectId
string
required
maxBudgetUsd
number<double>

Response

Budget updated.