import Riza from '@riza-io/api';

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

async function main() {
  // Automatically fetches more pages as needed.
  for await (const tool of client.tools.list()) {
    console.log(tool.id);
  }
}

main();
{
  "tools": [
    {
      "code": "<string>",
      "description": "<string>",
      "id": "<string>",
      "input_schema": "<any>",
      "language": "python",
      "name": "<string>",
      "revision_id": "<string>",
      "runtime_revision_id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

starting_after
string

The ID of the item to start after. To get the next page of results, set this to the ID of the last item in the current page.

limit
integer

The number of items to return. Defaults to 100. Maximum is 100.

Response

200
application/json
OK

The response is of type object.