Send a message to a Gumloop agent and start an asynchronous interaction. Returns immediately with anDocumentation Index
Fetch the complete documentation index at: https://docs.gumloop.com/llms.txt
Use this file to discover all available pages before exploring further.
interaction_id that you use to poll for results.
To continue an existing conversation, pass the interaction_id from a previous run. The new message is appended to that conversation’s history and the same interaction_id is reused. See Continuing a Conversation below.
project_id is not provided.user_id is not provided. Can be combined with user_id.interaction_id from a previous completed or failed interaction. When provided, the new message is appended to the existing conversation and the same interaction_id is reused. The previous interaction must be in a terminal state (COMPLETED or FAILED)."processing" on success, indicating the agent has started working.| Status Code | Error | Description |
|---|---|---|
| 400 | "gummie_id is required" | Missing gummie_id in the request body. |
| 400 | "message is required" | Missing message in the request body. |
| 400 | "project_id or user_id is required" | Missing both project_id and user_id. |
| 401 | "Authorization header with Bearer token or api_key query parameter is required" | No API key provided. |
| 403 | "Unauthorized" | Invalid API key. |
| 403 | "unauthorized_gummie_access" | User doesn’t have permission to access this agent. |
| 403 | "unauthorized_interaction_access" | User doesn’t have permission to access the specified interaction (continuation only). |
| 404 | "gummie_not_found" | No agent found with the provided gummie_id. |
| 404 | "interaction_not_found" | No interaction found with the provided interaction_id (continuation only). |
| 400 | "interaction_gummie_mismatch" | The interaction_id belongs to a different agent than the specified gummie_id (continuation only). |
| 409 | "interaction_not_in_terminal_state" | The interaction is still processing and cannot be continued yet. Wait until it reaches COMPLETED or FAILED (continuation only). |
gummie_id is the unique identifier for your Gumloop agent. You can find it from the URL when viewing your agent:
https://www.gumloop.com/agents/abc123DEFghiJKL, then your gummie_id is abc123DEFghiJKL.
You can also find the agent ID on the agent’s settings/configuration page in the Gumloop app.
interaction_id from a previous run in your request body. The agent receives the full prior message history plus your new message, so it can respond with awareness of the earlier context.
COMPLETED or FAILED)gummie_id must match the agent that owns the interactionuser_id and project_id, the system verifies you are a member of the specified team before allowing the request.user_id and project_id provided in the request.