Create a token budget
POST/apis/cra.diagrid.io/v1beta1/projects/:ProjectId/tokenbudgets
Create a token budget in a project.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 503
- default
TokenBudget accepted for asynchronous processing.
The request is not valid, for example the body has an unknown field or a value that fails validation.
Authentication failed: the credentials are missing or not valid, or the x-diagrid-orgid header names a different organization than the credentials.
You are not authorized to perform this action, or the project's region is blocked.
The project was not found.
TokenBudget name is in conflict.
The project is not ready yet. Retry after the number of seconds in the Retry-After header.
Response Headers
Retry-After
The number of seconds to wait before retrying.
Unexpected error.