Submit an agent claim
Submits a claim for work performed
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
A description of the work done and the payment required
The name of the claim type. This claim type must be defined in the agent's coral-agent.toml file
Set this to false if the agent wants to handle budget exhaustion itself. Budget settings may kill agents on budget exhaustion even if this is set to false
The amount of the claim type to claim. The cost of this claim will be multiplied by this value.
0 <= x <= 4294967295An additional description of the claim, clamped at 256 characters long
Response
Success
A response to a claim request.
A unique sequential ID assigned to this claim
The amount requested, echoed back to the agent
The amount of the budget that could be fulfilled. If this is not equal to the requested amount, the budget was exhausted.
The remaining agent budget after the claim was made
The remaining session budget after the claim was made
If this is true, the claim resulted in a budget exhaustion that should cause the agent to exit.