Suno Tasks API
POSThttps://api.acedata.cloud/suno/tasks
Can be used to query the current Suno task status.
Related Products
Suno - jiasmart
Suno music generation platform, directly interfaces with this API, high-speed and stable availability.
Request Headers
acceptstring
Specify the response format returned by the server.
Please select
authorizationstring
Bearer token
Request Body
idstring
Suno task ID.
idsarray
List of task IDs for Suno.
actionstring
Operation type. Use `retrieve` to get a single task, and use `retrieve_batch` to batch retrieve multiple tasks.
Please select
Response
Success200
Operation executed successfully.
Response Body
idstring
Task ID.
typestring
Task type.
api_idstring
API Identifier.
elapsednumber
Processing duration (seconds).
requestobject
Create the request body recorded for the API operation of this task; the fields depend on the specific operation and action.
object <string, unknown>
user_idstring
The account to which the task belongs.
responseobject
Create the final response recorded for the API operation of this task; the fields follow the structure of successful or error responses in the operation documentation.
object <string, unknown>
trace_idstring
Request tracking ID.
created_atnumber
Task creation time, Unix timestamp (seconds).
started_atnumber
Process start time, Unix timestamp (seconds).
finished_atnumber
Processing completion time, Unix timestamp (seconds).
actor_user_idstring
The account for executing the authorization request.
credential_idstring
Credentials used to start tasks.
application_idstring
Application for billing.
authorization_idstring
Authorization used when starting the task.
Success200
Operation executed successfully.
Response Body
countinteger
Total number of matching tasks.
itemsarray
Matching task list.
Array of
idstring
Task ID.
typestring
Task type.
api_idstring
API Identifier.
elapsednumber
Processing duration (seconds).
requestobject
Create the request body recorded for the API operation of this task; the fields depend on the specific operation and action.
object <string, unknown>
user_idstring
The account to which the task belongs.
responseobject
Create the final response recorded for the API operation of this task; the fields follow the structure of successful or error responses in the operation documentation.
object <string, unknown>
trace_idstring
Request tracking ID.
created_atnumber
Task creation time, Unix timestamp (seconds).
started_atnumber
Process start time, Unix timestamp (seconds).
finished_atnumber
Processing completion time, Unix timestamp (seconds).
actor_user_idstring
The account for executing the authorization request.
credential_idstring
Credentials used to start tasks.
application_idstring
Application for billing.
authorization_idstring
Authorization used when starting the task.
Example
{
"count": 0,
"items": []
}Success200
Operation executed successfully.
Response Body
object
Failure400token_mismatched
Request error, possibly due to missing or invalid parameters.
Response Body
errorobject
codestring
Response error code.
messagestring
Error message of the response.
retryableboolean
Optional boolean field. `true` indicates that this failure allows a later retry request using the same parameters; `false` indicates that it should not be retried as-is. When the field is missing, it should not be automatically resent based on the HTTP status or error text. When the request has been accepted or the execution result is unclear, the original `task_id` should be queried.
trace_idstring
The tracking ID for this request.
Example
{
"error": {
"code": "token_mismatched",
"message": "The specified token is not matched with API."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}Failure400api_not_implemented
Request error, possibly due to missing or invalid parameters.
Response Body
errorobject
codestring
Response error code.
messagestring
Response error message.
retryableboolean
Optional boolean field. `true` indicates that this failure allows a later retry request using the same parameters; `false` indicates that it should not be retried as-is. When the field is missing, it should not be automatically resent based on the HTTP status or error text. When the request has been accepted or the execution result is unclear, the original `task_id` should be queried.
trace_idstring
The tracking ID for this request.
Example
{
"error": {
"code": "api_not_implemented",
"message": "The API is not implemented."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}Failure401invalid_token
Unauthorized, authorization token is invalid or missing.
Response Body
errorobject
codestring
Response error code.
messagestring
Response error message.
retryableboolean
Optional boolean field. `true` indicates that this failure allows a later retry request using the same parameters; `false` indicates that it should not be retried as-is. When the field is missing, it should not be automatically resent based on the HTTP status or error text. When the request has been accepted or the execution result is unclear, the original `task_id` should be queried.
trace_idstring
The tracking ID for this request.
Failure429too_many_requests
Too many requests, rate limit exceeded.
Response Body
errorobject
codestring
Response error code.
messagestring
Error message of the response.
retryableboolean
Optional boolean field. `true` indicates that this failure allows a later retry request using the same parameters; `false` indicates that it should not be retried as-is. When the field is missing, it should not be automatically resent based on the HTTP status or error text. When the request has been accepted or the execution result is unclear, the original `task_id` should be queried.
trace_idstring
The tracking ID for this request.
Failure500api_error
Internal server error, an exception occurred on the server side.
Response Body
errorobject
codestring
Response error code.
messagestring
Error message of the response.
retryableboolean
Optional boolean field. `true` indicates that this failure allows a later retry request using the same parameters; `false` indicates that it should not be retried as-is. When the field is missing, it should not be automatically resent based on the HTTP status or error text. When the request has been accepted or the execution result is unclear, the original `task_id` should be queried.
trace_idstring
The tracking ID for this request.

Integration guide
Shell
Python
JavaScript
Java
Go
PHP
Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.
Suno Music Generation
Allow Use General Balance
When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.

