Skip to main content
GET
/
v0
/
issues
/
{id}
/
suggested-task
Get suggested task for an issue
curl --request GET \
  --url https://api.avidoai.com/v0/issues/{id}/suggested-task \
  --header 'x-api-key: <api-key>' \
  --header 'x-application-id: <api-key>'
{
  "task": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "title": "Credit Card Block",
    "description": "User wants to block their credit card",
    "type": "NORMAL",
    "status": "DRAFT",
    "applicationId": "456e7890-e89b-12d3-a456-426614174000",
    "topicId": "789e4567-e89b-12d3-a456-426614174000",
    "createdAt": "2024-01-05T12:34:56.789Z",
    "modifiedAt": "2024-01-05T12:34:56.789Z",
    "inputExamples": [],
    "metadata": {},
    "evalDefinitions": [],
    "passRate": 0,
    "monitoringPassRate": 0
  }
}

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Path Parameters

id
string<uuid>
required

The unique identifier of the issue

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Successfully retrieved suggested task

Successful response containing the suggested task (DRAFT) associated with the issue

task
Task · object
required

A task that represents a specific job-to-be-done by the LLM in the user application.