Saltar para o conteúdo principal
GET
/
public
/
api
/
v1
/
agents
/
{agentPublicId}
/
commands
/
{commandPublicId}
Get command
curl --request GET \
  --url https://api.gennia.ai/public/api/v1/agents/{agentPublicId}/commands/{commandPublicId} \
  --header 'X-Api-Key: <api-key>'
{
  "command": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "lastUsedAt": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "prompt": "<string>",
  "publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updatedAt": "2023-11-07T05:31:56Z",
  "usageCount": 123
}

Autorizações

X-Api-Key
string
header
obrigatório

Parâmetros de caminho

agentPublicId
string<uuid>
obrigatório
commandPublicId
string<uuid>
obrigatório

Resposta

OK

Slash command on an agent.

command
string
createdAt
string<date-time>
description
string
lastUsedAt
string<date-time>
name
string
prompt
string
publicId
string<uuid>
status
enum<string>
Opções disponíveis:
active,
inactive
updatedAt
string<date-time>
usageCount
integer<int64>