Agent SwarmAgent Swarm

Assets

Assets API endpoints

GET
/api/assets

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Query Parameters

keyPrefix?string

Non-unique asset directory namespace (for example shared/ or personal//drafts/). Runtime write boundaries normalize and validate the canonical form.

Length1 <= length <= 255
types?string

Comma-separated task,workflow,schedule,page,file list

limit?integer
Range1 <= value <= 1000

Response Body

curl -X GET "http://localhost:3013/api/assets"
Empty
Empty
PATCH
/api/assets/{entityType}/{id}/key

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

entityType*string
Value in"task" | "workflow" | "schedule" | "page" | "file"
id*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "http://localhost:3013/api/assets/task/string/key" \  -H "Content-Type: application/json" \  -d '{    "key": "string"  }'
Empty
Empty
Empty
Empty
Empty
GET
/api/assets/key-audit

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Response Body

curl -X GET "http://localhost:3013/api/assets/key-audit"
Empty
Empty
POST
/api/assets/mappings

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/assets/mappings" \  -H "Content-Type: application/json" \  -d '{    "providerId": "string",    "providerKey": "string"  }'
Empty
Empty
Empty