Invoke a backend
After deployment, invoke the backend through its AXTL agent slug with an agent API key. Agent API keys are different from platform bearer tokens. Create one before calling a deployed backend:data.key.
Invoke by slug
Common invocation errors
| Error | Meaning |
|---|---|
missing_agent_api_key | The request did not include an agent API key. |
malformed_agent_api_key | The authorization header was not a bearer agent key. |
invalid_agent_api_key | The agent API key was not recognized. |
agent_api_key_revoked | The agent API key was revoked. |
agent_api_key_scope_mismatch | The key belongs to a different agent. |
not_deployed | The agent does not have a live endpoint yet. |
invalid_json | The request body was not valid JSON. |
endpoint_timeout | The deployed backend timed out. |
endpoint_unreachable | AXTL could not reach the deployed backend. |