API REFERENCE
Get Artists
On this page
/api/artistsRetrieve artists accessible to the authenticated account. The account is derived from the API key or Bearer token. When org_id is omitted, returns only the account's own artists. Pass org_id to view artists in a specific organization. Pass account_id to filter to a specific account the API key has access to.
Authentication
See the authentication guide for API key and account access requirements.
Request
curl --request GET \
--url 'https://api.recoupable.dev/api/artists' \
--header 'x-api-key: YOUR_API_KEY'Replace the YOUR_ placeholders with your values. Required query parameters are included; optional parameters are listed below.
Try it
Fill in the fields, send the request from your browser, and read the live response. The curl below updates as you type.
Kept in this browser tab only and cleared when it closes.
curl --request GET \
--url 'https://recoup-api.vercel.app/api/artists'Parameters
Query parameters
account_idstringFilter to a specific account's artists. Only applicable when the authenticated account has access to multiple accounts via organization membership.
org_idstringFilter to artists in a specific organization. When omitted, returns only personal (non-organization) artists.
Responses
200Artists retrieved successfully+
application/json
statusstring · enumrequiredStatus of the request
Values: "success", "error"
artistsarray<Artist>requiredList of artist objects
Item properties for artists
idstringUUID of the artist account. Equal to account_id; use this (or account_id) for /api/artists/{id}/* sub-resources.
format: uuid
account_idstringUUID of the artist account
format: uuid
namestringArtist display name
imagestringnullableArtist profile image URL
instructionstringnullableArtist-specific agent instruction / system prompt
knowledgesarray<object>Artist knowledge-base entries
Item properties for knowledges
namestringurlstringtypestringlabelstringnullableArtist label / category
pinnedbooleanWhether the account has pinned this artist
account_socialsarray<ArtistSocial>Social media profiles linked to the artist (embedded in the /api/artists response)
Item properties for account_socials
idstringUUID of the social profile
format: uuid
platformstringSocial media platform (e.g., instagram, twitter, tiktok)
usernamestringUsername on the platform
profile_urlstringFull URL to the social media profile
messagestringError message (only present if status is error)
400Bad request - invalid parameters+
application/json
statusstring · enumrequiredStatus of the request
Values: "error"
messagestringrequiredError message describing what went wrong
401Unauthorized - missing or invalid authentication+
No response body schema is specified.
403Forbidden - account_id is not accessible with the provided credentials+
No response body schema is specified.
Full specification
Download the OpenAPI file for complete schemas, constraints, and examples.
Download releases.jsonView operation source
{
"description": "Retrieve artists accessible to the authenticated account. The account is derived from the API key or Bearer token. When org_id is omitted, returns only the account's own artists. Pass org_id to view artists in a specific organization. Pass account_id to filter to a specific account the API key has access to.",
"parameters": [
{
"name": "account_id",
"in": "query",
"description": "Filter to a specific account's artists. Only applicable when the authenticated account has access to multiple accounts via organization membership.",
"required": false,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "org_id",
"in": "query",
"description": "Filter to artists in a specific organization. When omitted, returns only personal (non-organization) artists.",
"required": false,
"schema": {
"type": "string",
"format": "uuid"
}
}
],
"responses": {
"200": {
"description": "Artists retrieved successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ArtistsResponse"
}
}
}
},
"400": {
"description": "Bad request - invalid parameters",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ArtistsErrorResponse"
}
}
}
},
"401": {
"description": "Unauthorized - missing or invalid authentication"
},
"403": {
"description": "Forbidden - account_id is not accessible with the provided credentials"
}
}
}