View Categories

Get an agent

< 1 min read

GET/agents/{agentId}

Code Samples #

  • 💻 cURL
  • 📄 JavaScript
  • 🐍 Python
  • 🐘 PHP
  • 🔷 C#
  • Java
Copy
curl --request GET \
  --url 'https://api.taskflow.example.com/v2/agents/{agentId}' \
  --header 'Authorization: Bearer YOUR_TOKEN'

Response #

Copy
{
    "id": "string",
    "name": "string",
    "online": true
}

Path Parameters #

NameTypeRequiredDescription
agentIdstringRequired

Responses #

200 — The agent #

FieldTypeRequiredDescription
idstringOptional
namestringOptional
onlinebooleanOptional
📋
Example 200 response
Copy
{
    "id": "string",
    "name": "string",
    "online": true
}

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.