Asteroid Agents home pagelight logodark logo
  • Support
  • GitHub
  • GitHub
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
API Reference
  • GET
    Get all tools that you have access to
  • DEL
    Delete a credential
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
  • GET
    Get all browser events for an execution
Credentials
  • GET
    Get the public key for credentials
Notifications
  • POST
    Set your slack notification channel
Workflow

Create a new workflow for an agent

POST
/
workflow
/
{agent_name}
/
create
Copy
"123e4567-e89b-12d3-a456-426614174000"

Path Parameters

​
agent_name
string
required

Body

application/json

Response

201
application/json

Workflow created successfully

The ID of the workflow

Example:

"123e4567-e89b-12d3-a456-426614174000"

Delete a credentialGet a workflow
github
Powered by Mintlify
Copy
"123e4567-e89b-12d3-a456-426614174000"
Assistant
Responses are generated using AI and may contain mistakes.