Status Codes
This article introduces the HTTP status codes and response format examples returned under different statuses when connecting to the MaiAgent service via API.
Last updated
Was this helpful?
This article introduces the HTTP status codes and response format examples returned under different statuses when connecting to the MaiAgent service via API.
When sending an HTTP request via the API, you can use the following status codes to check if the API request was successful:
200
Request successful
201
Resource created successfully
This is a content demonstration. The response format may vary for different endpoints. Please refer to the documentation for the specific endpoint.
{
"count": "integer",
"next": "string|null",
"previous": "string|null",
"results": [
// Result content returned
]
}400
Bad Request
401
Authentication failed
403
Permission denied
404
Resource not found
500
Server error
Last updated
Was this helpful?
Was this helpful?
{
"files": ["This field is required."],
"filename": ["This field is required."],
"file": ["This field is required."]
}