FS
FS API endpoints
Authorization
bearerAuth API key via Authorization: Bearer <API_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 POST "http://localhost:3013/api/fs/agent-credentials" \ -H "Content-Type: application/json" \ -d '{}'{
"enabled": true,
"created": true,
"agentId": "string",
"email": "string",
"orgId": "string",
"driveId": "string"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Response Body
application/json
application/json
curl -X GET "http://localhost:3013/api/fs/capabilities"{
"providerId": "string",
"capabilities": {
"signedUrl": {
"supported": true,
"maxExpiresIn": 0
},
"search": true,
"comments": true,
"versioning": true
}
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_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 POST "http://localhost:3013/api/fs/members/invite" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }'{
"orgId": "string",
"invited": true
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
uuidResponse Body
application/json
application/json
curl -X GET "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files"{
"attachments": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
"agentId": "string",
"name": "string",
"kind": "agent-fs",
"url": "string",
"path": "string",
"pageId": "string",
"providerId": "string",
"providerKey": "string",
"capabilities": {
"property1": null,
"property2": null
},
"orgId": "string",
"driveId": "string",
"mimeType": "string",
"sizeBytes": 0,
"sha256": "string",
"intent": "string",
"description": "string",
"isPrimary": false,
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": "string",
"updatedBy": "string"
}
]
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
uuidQuery Parameters
1 <= length"true" | "false"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files?name=string"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
"agentId": "string",
"name": "string",
"kind": "agent-fs",
"url": "string",
"path": "string",
"pageId": "string",
"providerId": "string",
"providerKey": "string",
"capabilities": {
"property1": null,
"property2": null
},
"orgId": "string",
"driveId": "string",
"mimeType": "string",
"sizeBytes": 0,
"sha256": "string",
"intent": "string",
"description": "string",
"isPrimary": false,
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": "string",
"updatedBy": "string"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
uuiduuidResponse Body
application/json
application/json
curl -X DELETE "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
uuiduuidResponse Body
application/json
application/json
curl -X GET "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
"agentId": "string",
"name": "string",
"kind": "agent-fs",
"url": "string",
"path": "string",
"pageId": "string",
"providerId": "string",
"providerKey": "string",
"capabilities": {
"property1": null,
"property2": null
},
"orgId": "string",
"driveId": "string",
"mimeType": "string",
"sizeBytes": 0,
"sha256": "string",
"intent": "string",
"description": "string",
"isPrimary": false,
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": "string",
"updatedBy": "string"
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
uuiduuidResponse Body
application/json
curl -X GET "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/raw"{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
uuiduuidQuery Parameters
0 < value <= 3600Response Body
application/json
application/json
application/json
curl -X GET "http://localhost:3013/api/fs/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/signed-url"{
"url": "string",
"expiresIn": 0
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}