aimlapi.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Assistants
create
assistants.create
Create a new AIMLAPI assistant.
Risk: write
toolResources full type
toolResources full type
metadata full type
metadata full type
metadata full type
metadata full type
delete
assistants.delete
Delete an assistant.
Risk: write
get
assistants.get
Retrieve an assistant by ID.
Risk: read
metadata full type
metadata full type
list
assistants.list
List configured assistants.
Risk: read
update
assistants.update
Update an assistant definition.
Risk: write
toolResources full type
toolResources full type
metadata full type
metadata full type
metadata full type
metadata full type
Batches
list
batches.list
List or retrieve batch processing status and results.
Risk: read
metadata full type
metadata full type
Billing
getBalance
billing.getBalance
Retrieve account billing balance.
Risk: read
Chat
createCompletion
chat.createCompletion
Generate a chat completion using an AIMLAPI-compatible model.
Risk: write
messages full type
messages full type
choices full type
choices full type
usage full type
usage full type
Luma
getGeneration
luma.getGeneration
Retrieve a Luma video generation by ID.
Risk: read
Messages
create
messages.create
Create a message in a thread.
Risk: write
metadata full type
metadata full type
metadata full type
metadata full type
delete
messages.delete
Delete a message.
Risk: write
get
messages.get
Retrieve a message by ID.
Risk: read
metadata full type
metadata full type
list
messages.list
List messages in a thread.
Risk: read
update
messages.update
Update a message.
Risk: write
metadata full type
metadata full type
metadata full type
metadata full type
Models
list
models.list
List models currently available to the AIMLAPI account.
Risk: read
object
Output full type
Output full type
listWithDetails
models.listWithDetails
List models with pagination metadata and expanded details.
Risk: read
object
Output full type
Output full type
Responses
get
responses.get
Retrieve a response by ID.
Risk: read
metadata full type
metadata full type
Runs
cancel
runs.cancel
Cancel an in-progress run.
Risk: write
metadata full type
metadata full type
create
runs.create
Create a run for a thread and assistant.
Risk: write
metadata full type
metadata full type
metadata full type
metadata full type
get
runs.get
Retrieve a run by ID.
Risk: read
metadata full type
metadata full type
list
runs.list
List runs for a thread.
Risk: read
submitToolOutputs
runs.submitToolOutputs
Submit tool outputs for a run.
Risk: write
metadata full type
metadata full type
update
runs.update
Update a run.
Risk: write
metadata full type
metadata full type
metadata full type
metadata full type
Run Steps
get
runSteps.get
Retrieve a single run step.
Risk: read
metadata full type
metadata full type
list
runSteps.list
List run steps for a run.
Risk: read
Threads
create
threads.create
Create an AIMLAPI thread.
Risk: write
messages full type
messages full type
toolResources full type
toolResources full type
metadata full type
metadata full type
metadata full type
metadata full type
delete
threads.delete
Delete a thread.
Risk: write
get
threads.get
Retrieve a thread by ID.
Risk: read
metadata full type
metadata full type
update
threads.update
Update thread metadata or resources.
Risk: write
toolResources full type
toolResources full type
metadata full type
metadata full type
metadata full type
metadata full type