Skip to main content
GET
/
cases
/
{case_id}
/
runs
/
{run_id}
/
recent-messages
List recent case run messages
curl --request GET \
  --url https://api.duvo.ai/v1/cases/{case_id}/runs/{run_id}/recent-messages \
  --header 'Authorization: Bearer <token>'
{
  "messages": [
    {
      "id": "<string>",
      "timestamp": "<string>",
      "raw_message": {
        "session_id": "<string>",
        "uuid": "<string>"
      },
      "text_content": "<string>",
      "metadata": {
        "isAgentInstruction": true
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.duvo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

case_id
string<uuid>
required

The case's unique identifier

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
run_id
string<uuid>
required

The agent run's unique identifier

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Query Parameters

limit
integer

Maximum number of qualifying messages to return. Defaults to 3, must be between 1 and 10.

Required range: 1 <= x <= 10

Response

Default Response

messages
object[]
required