Update an API key
Changed onUpdates an API key's metadata (currently only the label).
Request
- Base URL: https://api.monid.ai
- URL: https://api.monid.ai/v1/api-keys/{label}
- Auth: HTTP bearer
Path parameters
Current label of the API key.
Headers
Model driving the calling agent. Optional; a value that is empty, longer than 256 characters or not printable ASCII is ignored (never an error).
Agent harness or client making the call (e.g. a coding agent, an agent framework). Optional; a value that is empty, longer than 256 characters or not printable ASCII is ignored (never an error).
Caller-side session identifier, so the calls of one agent session (discover → inspect → run → polling) can be correlated. Optional; a value that is empty, longer than 256 characters or not printable ASCII is ignored (never an error).
Request body
Example request
{
"label": "ci-runner-renamed"
}Response
Updated API key metadata (never the full key)
Example response
{
"label": "ci-runner",
"keyPrefix": "monid_test_a1b2c3d4",
"createdBy": "USER#user_2abc",
"scopes": [
"runs:create",
"runs:read",
"wallet:read"
],
"revokedBy": "USER#user_2abc"
}Changes
- info
added the new optional
headerrequest parameterX-Monid-Agent-Harness - info
added the new optional
headerrequest parameterX-Monid-Agent-Model - info
added the new optional
headerrequest parameterX-Monid-Agent-Session-Id - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status - info
removed the
PROMO_REDEEM_DISABLEDenum value from theresponse property for the response status
- info
- warning
added the new
PROMO_REDEEM_DISABLEDenum value to theresponse property for the response status - warning
added the new
PROMO_REDEEM_DISABLEDenum value to theresponse property for the response status - warning
added the new
PROMO_REDEEM_DISABLEDenum value to theresponse property for the response status - warning
added the new
PROMO_REDEEM_DISABLEDenum value to theresponse property for the response status - warning
added the new
PROMO_REDEEM_DISABLEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMITEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMITEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMITEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMITEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMITEDenum value to theresponse property for the response status - info
added the non-success response with the status
- warning