Agent SwarmAgent Swarm

Pages

Create, version, launch, and render DB-backed pages — build interactive dashboards and static artifacts served by the swarm

DELETE
/@swarm/api/{path}

Response Body

curl -X DELETE "http://localhost:3013/@swarm/api/{path}"
Empty
Empty
GET
/@swarm/api/{path}

Response Body

curl -X GET "http://localhost:3013/@swarm/api/{path}"
Empty
Empty
Empty
PATCH
/@swarm/api/{path}

Response Body

curl -X PATCH "http://localhost:3013/@swarm/api/{path}"
Empty
Empty
POST
/@swarm/api/{path}

Response Body

curl -X POST "http://localhost:3013/@swarm/api/{path}"
Empty
Empty
PUT
/@swarm/api/{path}

Response Body

curl -X PUT "http://localhost:3013/@swarm/api/{path}"
Empty
Empty
GET
/api/pages

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Query Parameters

agentId?string
Length1 <= length
limit?integer
Range1 <= value <= 500
offset?|
Range0 <= value
fields?string
Value in"full" | "slim"

Response Body

curl -X GET "http://localhost:3013/api/pages"
Empty
POST
/api/pages

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/pages" \  -H "Content-Type: application/json" \  -d '{    "title": "string",    "contentType": "text/html",    "authMode": "public",    "body": "string"  }'
Empty
Empty
Empty
DELETE
/api/pages/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string

Response Body

curl -X DELETE "http://localhost:3013/api/pages/string"
Empty
Empty
GET
/api/pages/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string

Response Body

curl -X GET "http://localhost:3013/api/pages/string"
Empty
Empty
PUT
/api/pages/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PUT "http://localhost:3013/api/pages/string" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
Empty
POST
/api/pages/{id}/launch

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string

Response Body

curl -X POST "http://localhost:3013/api/pages/string/launch"
Empty
Empty
Empty
GET
/api/pages/{id}/versions

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string

Response Body

curl -X GET "http://localhost:3013/api/pages/string/versions"
Empty
Empty
GET
/api/pages/{id}/versions/{version}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
version*integer
Range1 <= value

Response Body

curl -X GET "http://localhost:3013/api/pages/string/versions/1"
Empty
Empty
GET
/api/pages/actions

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Response Body

curl -X GET "http://localhost:3013/api/pages/actions"
Empty
GET
/p/{id}

Path Parameters

id*string

Response Body

curl -X GET "http://localhost:3013/p/string"
Empty
Empty
Empty
Empty
Empty
GET
/p/{id}.json

Path Parameters

id*string

Response Body

curl -X GET "http://localhost:3013/p/string.json"
Empty
Empty
Empty
Empty