API ReferenceSaved Agents

Set your saved agent order

PUT
/v1/saved-agents/order

Authorization

bearerAuth
AuthorizationBearer <token>

Send a SimpleServe API key as Authorization: Bearer <key>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/saved-agents/order" \  -H "Content-Type: application/json" \  -d '{    "agents": [      "string"    ]  }'
{  "object": "list",  "data": [    {      "agent": "string",      "saved_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": false,  "next_cursor": null}