ApiAgentdraft
List the caller's drafts for an agent.
Returns every draft the calling user owns for this agent, across base revisions. The studio uses this to surface "you have a draft on an older revision" when the deployed revision has since moved on.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
agent*string
The unique identifier of the agent.
tenant*string
The tenant identifier
Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/agents/string/drafts"[
{
"agentId": "string",
"baseRevision": 0,
"version": 0,
"updatedAt": 0
}
]Empty
Empty
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}