Skip to main content
GET
/
v1beta
/
runs
/
{run_id}
/
logs
JavaScript
import Indices from 'indicesio';

const client = new Indices({
  apiKey: process.env['INDICES_API_KEY'], // This is the default and can be omitted
});

const response = await client.runs.logs('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');

console.log(response.stderr);
{
  "stdout": "<string>",
  "stderr": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.indices.io/llms.txt

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

Authorizations

Authorization
string
header
required

Enter your API key as the bearer token. Set header: Authorization to Bearer <api_key>

Path Parameters

run_id
string<uuid>
required

The ID of the run to get logs for.

Response

Successful response

stdout
string
required

Standard output from the run execution.

stderr
string
required

Standard error output from the run execution.