JavaScript
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 runtime = await client.runtimes.get('id');
console.log(runtime.id);{
"id": "<string>",
"name": "<string>",
"revision_id": "<string>",
"additional_python_imports": "<string>",
"manifest_file": {
"contents": "<string>"
}
}Custom Runtimes
Retrieve runtime
Retrieves a runtime.
JavaScript
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 runtime = await client.runtimes.get('id');
console.log(runtime.id);{
"id": "<string>",
"name": "<string>",
"revision_id": "<string>",
"additional_python_imports": "<string>",
"manifest_file": {
"contents": "<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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
OK
Available options:
wasi, microvm, v8 Available options:
python, javascript Available options:
pending, building, succeeded, failed, cancelled Show child attributes
Show child attributes
⌘I