GET
/
v1
/
agents
/
jobs
/
{agent_job_id}
/
result
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;

class Program
{
    static async Task Main(string[] args)
    {
        string agentJobId = "YOUR_AGENT_JOB_ID"; // Replace with your agent job ID
        string token = "YOUR_API_TOKEN"; // Replace with your API token
        
        string url = $"https://api.roe-ai.com/v1/agents/jobs/{agentJobId}/result/";
        
        using var client = new HttpClient();
        client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
        
        HttpResponseMessage response = await client.GetAsync(url);
        string responseBody = await response.Content.ReadAsStringAsync();
        
        Console.WriteLine(responseBody);
    }
}
[
  {
    "key": "output",
    "description": "Output JSON data",
    "data_type": "application/json",
    "value": "{\"summary\": \"hello world!\"}"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_job_id
string
required

Response

200
application/json
Agent outputs
key
string
required

The key of the output

data_type
string
required

The MIME data type of the output

value
string
required

The value of the output, serialized as a string

description
string | null

The description of the output