Skip to main content
GET
/
v1
/
tools
/
{toolId}
/
resources
Listar recursos de conocimiento asociados a una tool
curl --request GET \
  --url https://agents.studio.getsupervisor.ai/v1/tools/{toolId}/resources \
  --header 'Authorization: Bearer <token>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "toolId": "<string>",
      "type": "document",
      "status": "pending",
      "createdAt": "2023-11-07T05:31:56Z",
      "title": "<string>",
      "sizeBytes": 123,
      "updatedAt": "2023-11-07T05:31:56Z",
      "metadata": {}
    }
  ],
  "meta": {
    "total": 123,
    "page": 123,
    "limit": 123,
    "hasNext": true,
    "hasPrevious": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-workspace-id
string<uuid>
required

Identificador del workspace multi-tenant.

Path Parameters

toolId
string
required

Identificador interno de la tool (snake_case)

Query Parameters

type
enum<string>

Filtrar por tipo de recurso.

Available options:
document,
media,
file
page
integer
default:1

Número de página (>= 1). Por defecto es 1.

Required range: x >= 1
limit
integer
default:20

Tamaño de página (1..100). Por defecto 20.

Required range: 1 <= x <= 100

Response

Recursos registrados

data
object[]
required
meta
object
required