Asteroid Agents home page
Search...
Support
GitHub
GitHub
Search...
Navigation
Workflow
Add a credential for a workflow
Documentation
API Reference
API
GET
Get the OpenAPI schema
GET
Check the health of the API
Agent
GET
Get all agents
Optimiser
POST
Queue an optimisation job
Workflow
POST
Create a new workflow for an agent
GET
Get a workflow
POST
Execute a saved workflow for an agent
DEL
Delete a workflow
GET
Get credentials for a workflow (and all prior versions of the workflow)
DEL
Delete credentials for a workflow
PATCH
Add a credential for a workflow
GET
Get all workflows and their executions
GET
Get all versions of a workflow
Execution
GET
Get all executions for a workflow
GET
Get an execution
DEL
Delete an execution
POST
Update the status of an execution
GET
Get the browser session for an execution
GET
Get the progress of an execution
GET
Get files for an execution
GET
Get all user messages for an execution
POST
Create a user message for an execution
Credentials
GET
Get the public key for credentials
Notifications
POST
Set your slack notification channel
Workflow
Add a credential for a workflow
PATCH
/
workflow
/
{workflow_id}
/
credentials
Try it
Path Parameters
workflow_id
string
required
Body
application/json
credentials
object[]
required
Show child attributes
credentials.
name
string
required
The credential name
Minimum length:
1
credentials.
data
string
required
The encrypted credential
Minimum length:
1
Response
200
Credentials set successfully
Delete credentials for a workflow
Get all workflows and their executions