Skip to main content
Every griptape.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Assistant

create

assistant.create Create an assistant Risk: write
Input
Output: empty object

delete

assistant.delete Delete an assistant Risk: destructive
Input Output: any

get

assistant.get Get an assistant Risk: read
Input Output

list

assistant.list List assistants Risk: read
Input Output

update

assistant.update Update an assistant Risk: write
Input
Output: empty object

Assistant Run

cancel

assistantRun.cancel Cancel an assistant run Risk: write
Input Output: empty object

create

assistantRun.create Create an assistant run Risk: write
Input Output: empty object

events

assistantRun.events List events for an assistant run Risk: read
Input Output

get

assistantRun.get Retrieve an assistant run Risk: read
Input Output: empty object

list

assistantRun.list List runs for an assistant Risk: read
Input Output

Billing

managementUrl

billing.managementUrl Get the billing management URL Risk: read
Input: empty object Output: empty object

Bucket

assetUrl

bucket.assetUrl Get a signed bucket asset URL Risk: read
Input
Output: empty object

create

bucket.create Create a bucket Risk: write
Input
Output: empty object

createAsset

bucket.createAsset Create a bucket asset Risk: write
Input
Output: empty object

delete

bucket.delete Delete a bucket Risk: destructive
Input Output: any

deleteAsset

bucket.deleteAsset Delete a bucket asset Risk: destructive
Input Output: any

get

bucket.get Get a bucket Risk: read
Input Output: empty object

getAsset

bucket.getAsset Get a bucket asset Risk: read
Input Output: empty object

list

bucket.list List buckets Risk: read
Input Output

listAssets

bucket.listAssets List assets in a bucket Risk: read
Input Output

update

bucket.update Update a bucket Risk: write
Input
Output: empty object

Config

get

config.get Get Cloud configuration Risk: read
Input: empty object Output: empty object

Connection

list

connection.list List connections Risk: read
Input Output

Credits

balance

credits.balance Get the credits balance Risk: read
Input: empty object Output: empty object

Data Connector

create

dataConnector.create Create a data connector Risk: write
Input
Output: empty object

createJob

dataConnector.createJob Create a data connector job Risk: write
Input
Output: empty object

delete

dataConnector.delete Delete a data connector Risk: destructive
Input Output: any

get

dataConnector.get Get a data connector Risk: read
Input Output: empty object

list

dataConnector.list List data connectors Risk: read
Input Output

update

dataConnector.update Update a data connector Risk: write
Input
Output: empty object

Data Job

cancel

dataJob.cancel Cancel a data job Risk: write
Input Output: empty object

get

dataJob.get Get a data job Risk: read
Input Output: empty object

Export Job

create

exportJob.create Create an export job Risk: write
Input
Output: empty object

get

exportJob.get Get an export job Risk: read
Input Output: empty object

list

exportJob.list List export jobs Risk: read
Input Output

Function

create

function.create Create a function Risk: write
Input
Output: empty object

createDeployment

function.createDeployment Create a function deployment Risk: write
Input
Output: empty object

delete

function.delete Delete a function Risk: destructive
Input Output: any

get

function.get Get a function Risk: read
Input Output: empty object

list

function.list List functions Risk: read
Input Output

listDeployments

function.listDeployments List deployments for a function Risk: read
Input Output

update

function.update Update a function Risk: write
Input
Output: empty object

Import Job

create

importJob.create Create an import job Risk: write
Input
Output: empty object

get

importJob.get Get an import job Risk: read
Input Output: empty object

list

importJob.list List import jobs Risk: read
Input Output

Integration

create

integration.create Create an integration Risk: write
Input
Output: empty object

delete

integration.delete Delete an integration Risk: destructive
Input Output: any

get

integration.get Get an integration Risk: read
Input Output: empty object

list

integration.list List integrations Risk: read
Input Output

update

integration.update Update an integration Risk: write
Input
Output: empty object

Knowledge Base

create

knowledgeBase.create Create a knowledge base Risk: write
Input
Output: empty object

createJob

knowledgeBase.createJob Create a knowledge base ingestion job Risk: write
Input
Output: empty object

delete

knowledgeBase.delete Delete a knowledge base Risk: destructive
Input Output: any

get

knowledgeBase.get Get a knowledge base Risk: read
Input Output: empty object

getJob

knowledgeBase.getJob Get a knowledge base job Risk: read
Input Output: empty object

getSearch

knowledgeBase.getSearch Get a knowledge base search Risk: read
Input Output: empty object

list

knowledgeBase.list List knowledge bases Risk: read
Input Output

listJobs

knowledgeBase.listJobs List knowledge base jobs Risk: read
Input Output

listQueries

knowledgeBase.listQueries List queries for a knowledge base Risk: read
Input Output

listSearches

knowledgeBase.listSearches List searches for a knowledge base Risk: read
Input Output

query

knowledgeBase.query Semantic search against a knowledge base Risk: read
Input Output: empty object
knowledgeBase.search Search a knowledge base with a synthesized answer Risk: read
Input Output: empty object

update

knowledgeBase.update Update a knowledge base Risk: write
Input
Output: empty object

Library

create

library.create Create a library Risk: write
Input
Output: empty object

delete

library.delete Delete a library Risk: destructive
Input Output: any

get

library.get Get a library Risk: read
Input Output: empty object

list

library.list List libraries Risk: read
Input Output

update

library.update Update a library Risk: write
Input
Output: empty object

Message

delete

message.delete Delete a message Risk: destructive
Input Output: any

get

message.get Get a message Risk: read
Input Output: empty object

update

message.update Update a message Risk: write
Input
Output: empty object

Model

create

model.create Create a model configuration Risk: write
Input
Output: empty object

createAuthConfig

model.createAuthConfig Create a model auth config Risk: write
Input
Output: empty object

delete

model.delete Delete a model configuration Risk: destructive
Input Output: any

deleteAuthConfig

model.deleteAuthConfig Delete a model auth config Risk: destructive
Input Output: any

get

model.get Get a model configuration Risk: read
Input Output: empty object

getAuthConfig

model.getAuthConfig Get a model auth config Risk: read
Input Output: empty object

list

model.list List models Risk: read
Input Output

listAuthConfigs

model.listAuthConfigs List model auth configs Risk: read
Input Output

update

model.update Update a model configuration Risk: write
Input
Output: empty object

updateAuthConfig

model.updateAuthConfig Update a model auth config Risk: write
Input
Output: empty object

Organization

createApiKey

organization.createApiKey Create an organization API key Risk: write
Input
Output: empty object

get

organization.get Get an organization Risk: read
Input Output: empty object

list

organization.list List organizations Risk: read
Input Output

listApiKeys

organization.listApiKeys List API keys for an organization Risk: read
Input Output

update

organization.update Update an organization Risk: write
Input
Output: empty object

Retriever

create

retriever.create Create a retriever Risk: write
Input
Output: empty object

get

retriever.get Get a retriever Risk: read
Input Output: empty object

list

retriever.list List retrievers Risk: read
Input Output

query

retriever.query Query a retriever Risk: read
Input Output: empty object

update

retriever.update Update a retriever Risk: write
Input
Output: empty object

Retriever Component

create

retrieverComponent.create Create a retriever component Risk: write
Input
Output: empty object

get

retrieverComponent.get Get a retriever component Risk: read
Input Output: empty object

list

retrieverComponent.list List retriever components Risk: read
Input Output

update

retrieverComponent.update Update a retriever component Risk: write
Input
Output: empty object

Rule

create

rule.create Create a rule Risk: write
Input
Output: empty object

delete

rule.delete Delete a rule Risk: destructive
Input Output: any

get

rule.get Get a rule Risk: read
Input Output: empty object

list

rule.list List rules Risk: read
Input Output

update

rule.update Update a rule Risk: write
Input
Output: empty object

Ruleset

create

ruleset.create Create a ruleset Risk: write
Input
Output: empty object

delete

ruleset.delete Delete a ruleset Risk: destructive
Input Output: any

get

ruleset.get Get a ruleset Risk: read
Input Output: empty object

getByAlias

ruleset.getByAlias Get a ruleset by alias Risk: read
Input Output

update

ruleset.update Update a ruleset Risk: write
Input
Output: empty object

Secret

create

secret.create Create a secret Risk: write
Input
Output: empty object

delete

secret.delete Delete a secret Risk: destructive
Input Output: any

get

secret.get Get a secret Risk: read
Input Output: empty object

list

secret.list List secrets Risk: read
Input Output

update

secret.update Update a secret Risk: write
Input
Output: empty object

Structure

create

structure.create Create a structure Risk: write
Input
Output: empty object

createDeployment

structure.createDeployment Create a structure deployment Risk: write
Input
Output: empty object

dashboard

structure.dashboard Get structure dashboard metrics Risk: read
Input Output: empty object

delete

structure.delete Delete a structure Risk: destructive
Input Output: any

get

structure.get Get a structure Risk: read
Input Output: empty object

list

structure.list List structures Risk: read
Input Output

listDeployments

structure.listDeployments List deployments for a structure Risk: read
Input Output

listRuns

structure.listRuns List runs for a structure Risk: read
Input Output

update

structure.update Update a structure Risk: write
Input
Output: empty object

Thread

create

thread.create Create a thread Risk: write
Input
Output: empty object

delete

thread.delete Delete a thread Risk: destructive
Input Output: any

get

thread.get Get a thread Risk: read
Input Output: empty object

list

thread.list List threads Risk: read
Input Output

update

thread.update Update a thread Risk: write
Input
Output: empty object

Thread Message

create

threadMessage.create Create a message in a thread Risk: write
Input
Output: empty object

list

threadMessage.list List messages in a thread Risk: read
Input Output

Tool

create

tool.create Create a tool Risk: write
Input
Output: empty object

createDeployment

tool.createDeployment Create a tool deployment Risk: write
Input
Output: empty object

delete

tool.delete Delete a tool Risk: destructive
Input Output: any

deploymentStatus

tool.deploymentStatus Get a tool deployment status Risk: read
Input Output: empty object

get

tool.get Get a tool Risk: read
Input Output: empty object

list

tool.list List tools Risk: read
Input Output

listDeployments

tool.listDeployments List deployments for a tool Risk: read
Input Output

listRuns

tool.listRuns List runs for a tool Risk: read
Input Output

update

tool.update Update a tool Risk: write
Input
Output: empty object

Usage

get

usage.get Get usage statistics Risk: read
Input: empty object Output: empty object

User

deleteApiKey

user.deleteApiKey Delete an API key Risk: destructive
Input Output: any

get

user.get Get a user Risk: read
Input Output: empty object

getApiKey

user.getApiKey Get an API key Risk: read
Input Output: empty object

list

user.list List users Risk: read
Input Output