Skip to main content
GET
Get Revision Body

Authorizations

Authorization
string
header
required

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

Path Parameters

agent_id
string<uuid>
required

The agent's unique identifier

build_id
string<uuid>
required

The revision's unique identifier

Query Parameters

section
enum<string>
required

input is an agent step's AOP text; source is a code step's program.

Available options:
input,
source
offset
integer

Character offset to start reading from (default 0)

Required range: 0 <= x <= 9007199254740991
length
integer
default:40000

Characters to return (1-50000, default 40000). Repeat with a higher offset until offset plus the returned length reaches total_chars.

Required range: 1 <= x <= 50000

Response

Default Response

section
enum<string>
required
Available options:
input,
source
total_chars
integer
required

Length of the whole section

Required range: -9007199254740991 <= x <= 9007199254740991
offset
integer
required

Where text starts within the section

Required range: -9007199254740991 <= x <= 9007199254740991
text
string
required

The requested range of the section