LegalStack

AI-агенты команды

Администрирование AI-агентов команды: навыки, файлы, cron-задачи, пресеты.

Список AI-агентов команды

GET
/ws/api/agents
АвторизацияBearer <токен>

В: header

Тело ответа

application/json

curl -X GET "https://loading/ws/api/agents"
[
  {
    "property1": null,
    "property2": null
  }
]
Пусто
Пусто

Список cron-задач агентов

GET
/ws/api/agents/cron
АвторизацияBearer <токен>

В: header

Тело ответа

application/json

curl -X GET "https://loading/ws/api/agents/cron"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Создать cron-задачу агента

POST
/ws/api/agents/cron
АвторизацияBearer <токен>

В: header

Тело запроса

application/json

TypeScript-определения

Используйте тип request body в TypeScript.

[key: string]?unknown

Тело ответа

application/json

curl -X POST "https://loading/ws/api/agents/cron" \  -H "Content-Type: application/json" \  -d '{    "property1": null,    "property2": null  }'
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Статус cron-планировщика

GET
/ws/api/agents/cron/status
АвторизацияBearer <токен>

В: header

Тело ответа

application/json

curl -X GET "https://loading/ws/api/agents/cron/status"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Изменить cron-задачу

PATCH
/ws/api/agents/cron/{jobId}
АвторизацияBearer <токен>

В: header

Параметры пути

jobId*string

Идентификатор cron-задачи

Тело запроса

application/json

TypeScript-определения

Используйте тип request body в TypeScript.

[key: string]?unknown

Тело ответа

application/json

curl -X PATCH "https://loading/ws/api/agents/cron/string" \  -H "Content-Type: application/json" \  -d '{    "property1": null,    "property2": null  }'
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Удалить cron-задачу

DELETE
/ws/api/agents/cron/{jobId}
АвторизацияBearer <токен>

В: header

Параметры пути

jobId*string

Идентификатор cron-задачи

Тело ответа

application/json

curl -X DELETE "https://loading/ws/api/agents/cron/string"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Приостановить cron-задачу

POST
/ws/api/agents/cron/{jobId}/pause
АвторизацияBearer <токен>

В: header

Параметры пути

jobId*string

Идентификатор cron-задачи

Тело ответа

application/json

curl -X POST "https://loading/ws/api/agents/cron/string/pause"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Возобновить cron-задачу

POST
/ws/api/agents/cron/{jobId}/resume
АвторизацияBearer <токен>

В: header

Параметры пути

jobId*string

Идентификатор cron-задачи

Тело ответа

application/json

curl -X POST "https://loading/ws/api/agents/cron/string/resume"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Запустить cron-задачу немедленно

POST
/ws/api/agents/cron/{jobId}/run
АвторизацияBearer <токен>

В: header

Параметры пути

jobId*string

Идентификатор cron-задачи

Тело ответа

application/json

curl -X POST "https://loading/ws/api/agents/cron/string/run"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

История запусков cron-задачи

GET
/ws/api/agents/cron/{jobId}/runs
АвторизацияBearer <токен>

В: header

Параметры пути

jobId*string

Идентификатор cron-задачи

Параметры запроса

limit?string

Максимум записей (по умолчанию 20)

Тело ответа

application/json

curl -X GET "https://loading/ws/api/agents/cron/string/runs"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Список пресетов агентов

GET
/ws/api/agents/presets
АвторизацияBearer <токен>

В: header

Тело ответа

application/json

curl -X GET "https://loading/ws/api/agents/presets"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Применить пресет к агенту команды

POST
/ws/api/agents/presets/apply
АвторизацияBearer <токен>

В: header

Тело запроса

application/json

TypeScript-определения

Используйте тип request body в TypeScript.

presetId*string

Идентификатор пресета

Тело ответа

application/json

curl -X POST "https://loading/ws/api/agents/presets/apply" \  -H "Content-Type: application/json" \  -d '{    "presetId": "string"  }'
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Пресет агента

GET
/ws/api/agents/presets/{presetId}
АвторизацияBearer <токен>

В: header

Параметры пути

presetId*string

Идентификатор пресета

Тело ответа

application/json

curl -X GET "https://loading/ws/api/agents/presets/string"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Статус навыков агентов

GET
/ws/api/agents/skills
АвторизацияBearer <токен>

В: header

Параметры запроса

agentId?string

Фильтр по агенту

Тело ответа

application/json

curl -X GET "https://loading/ws/api/agents/skills"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Установить навык агентам

POST
/ws/api/agents/skills
АвторизацияBearer <токен>

В: header

Тело запроса

application/json

TypeScript-определения

Используйте тип request body в TypeScript.

Тело ответа

application/json

curl -X POST "https://loading/ws/api/agents/skills" \  -H "Content-Type: application/json" \  -d '{}'
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Прочитать SKILL.md навыка

GET
/ws/api/agents/skills/file
АвторизацияBearer <токен>

В: header

Параметры запроса

name*string

Имя навыка

Тело ответа

application/json

curl -X GET "https://loading/ws/api/agents/skills/file?name=string"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Записать SKILL.md навыка

PUT
/ws/api/agents/skills/file
АвторизацияBearer <токен>

В: header

Параметры запроса

name*string

Имя навыка

Тело запроса

application/json

TypeScript-определения

Используйте тип request body в TypeScript.

content*string

Новое содержимое файла

Тело ответа

application/json

curl -X PUT "https://loading/ws/api/agents/skills/file?name=string" \  -H "Content-Type: application/json" \  -d '{    "content": "string"  }'
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Каталог MCP-инструментов агентов

GET
/ws/api/agents/tools
АвторизацияBearer <токен>

В: header

Параметры запроса

agentId?string

Фильтр по агенту

Тело ответа

application/json

curl -X GET "https://loading/ws/api/agents/tools"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Файлы рабочего пространства агента

GET
/ws/api/agents/{agentId}/files
АвторизацияBearer <токен>

В: header

Параметры пути

agentId*string

Идентификатор агента

Тело ответа

application/json

curl -X GET "https://loading/ws/api/agents/string/files"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Прочитать файл агента

GET
/ws/api/agents/{agentId}/files/{fileName}
АвторизацияBearer <токен>

В: header

Параметры пути

agentId*string

Идентификатор агента

fileName*string

Имя файла (URL-encoded, поддерживает подкаталоги)

Тело ответа

application/json

curl -X GET "https://loading/ws/api/agents/string/files/string"
{
  "property1": null,
  "property2": null
}
Пусто
Пусто

Записать файл агента

PUT
/ws/api/agents/{agentId}/files/{fileName}
АвторизацияBearer <токен>

В: header

Параметры пути

agentId*string

Идентификатор агента

fileName*string

Имя файла (URL-encoded, поддерживает подкаталоги)

Тело запроса

application/json

TypeScript-определения

Используйте тип request body в TypeScript.

content*string

Новое содержимое файла

Тело ответа

application/json

curl -X PUT "https://loading/ws/api/agents/string/files/string" \  -H "Content-Type: application/json" \  -d '{    "content": "string"  }'
{
  "property1": null,
  "property2": null
}
Пусто
Пусто