The Code Interpreter API is shutting down on October 1st, 2025. Read more here.
import Riza from '@riza-io/api';
const client = new Riza({
apiKey: process.env['RIZA_API_KEY'], // This is the default and can be omitted
});
const revisions = await client.runtimes.revisions.list('id');
console.log(revisions.revisions);{
"revisions": [
{
"id": "<string>",
"manifest_file": {
"contents": "<string>",
"name": "requirements.txt"
},
"runtime_id": "<string>",
"status": "pending",
"additional_python_imports": "<string>"
}
]
}Lists all revisions for a runtime.
import Riza from '@riza-io/api';
const client = new Riza({
apiKey: process.env['RIZA_API_KEY'], // This is the default and can be omitted
});
const revisions = await client.runtimes.revisions.list('id');
console.log(revisions.revisions);{
"revisions": [
{
"id": "<string>",
"manifest_file": {
"contents": "<string>",
"name": "requirements.txt"
},
"runtime_id": "<string>",
"status": "pending",
"additional_python_imports": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.riza.io/llms.txt
Use this file to discover all available pages before exploring further.