API ReferenceSaved Agents

Save an agent

PUT
/v1/saved-agents/{namespace}/{slug}

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

namespace*string

Supplier namespace from the namespaced agent ID.

Match^[a-z0-9]+(?:-[a-z0-9]+)*$
slug*string

Agent slug from the namespaced agent ID.

Match^[a-z0-9]+(?:-[a-z0-9]+)*$

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/saved-agents/acme/construction-researcher"
{  "agent": "string",  "saved_at": "2019-08-24T14:15:22Z"}