Agent SwarmAgent Swarm

FS

FS API endpoints

POST
/api/fs/agent-credentials

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/fs/agent-credentials" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
Empty
GET
/api/fs/capabilities

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Response Body

curl -X GET "http://localhost:3013/api/fs/capabilities"
Empty
Empty
GET
/api/fs/tasks/{taskId}/files

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

taskId*string
Formatuuid

Response Body

curl -X GET "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files"
Empty
Empty
POST
/api/fs/tasks/{taskId}/files

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

taskId*string
Formatuuid

Query Parameters

name*string
Length1 <= length
intent?string
description?string
isPrimary?string
Value in"true" | "false"

Response Body

curl -X POST "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files?name=string"
Empty
Empty
Empty
Empty
Empty
DELETE
/api/fs/tasks/{taskId}/files/{attachmentId}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

taskId*string
Formatuuid
attachmentId*string
Formatuuid

Response Body

curl -X DELETE "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
Empty
Empty
GET
/api/fs/tasks/{taskId}/files/{attachmentId}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

taskId*string
Formatuuid
attachmentId*string
Formatuuid

Response Body

curl -X GET "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
Empty
GET
/api/fs/tasks/{taskId}/files/{attachmentId}/raw

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

taskId*string
Formatuuid
attachmentId*string
Formatuuid

Response Body

curl -X GET "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/raw"
Empty
Empty
GET
/api/fs/tasks/{taskId}/files/{attachmentId}/signed-url

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

taskId*string
Formatuuid
attachmentId*string
Formatuuid

Query Parameters

expiresIn?integer
Range0 < value <= 3600

Response Body

curl -X GET "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/signed-url"
Empty
Empty
Empty