> ## Documentation Index
> Fetch the complete documentation index at: https://myco-29fc6df6-sweetmantech-myc-3925-docs-document-the-apiar.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Artist

> Create a new artist account. The artist can optionally be linked to an organization.



## OpenAPI

````yaml POST /api/artists
openapi: 3.1.0
info:
  title: Recoup API
  description: >-
    API documentation for the Recoup platform - an AI agent platform for the
    music industry
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://recoup-api.vercel.app
security:
  - apiKeyAuth: []
paths:
  /api/artists:
    post:
      description: >-
        Create a new artist account. The artist can optionally be linked to an
        organization.
      requestBody:
        description: Artist creation parameters
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateArtistRequest'
      responses:
        '201':
          description: Artist created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateArtistResponse'
        '400':
          description: Bad request - validation error or invalid JSON
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateArtistError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CreateArtistRequest:
      type: object
      required:
        - name
      properties:
        name:
          type: string
          minLength: 1
          description: The name of the artist to create
        account_id:
          type: string
          format: uuid
          description: >-
            UUID of the account to create the artist for. Only applicable for
            organization API keys - org keys can specify an account_id for any
            account within their organization. If not provided, the artist is
            created for the API key's own account.
        organization_id:
          type: string
          format: uuid
          description: Optional organization ID to link the new artist to
    CreateArtistResponse:
      type: object
      required:
        - artist
      properties:
        artist:
          $ref: '#/components/schemas/CreatedArtist'
    CreateArtistError:
      type: object
      properties:
        status:
          type: string
          enum:
            - error
          description: Status of the request
        missing_fields:
          type: array
          items:
            type: string
          description: List of missing or invalid field names
        error:
          type: string
          description: Error message describing the validation failure
        message:
          type: string
          description: Error message (for invalid JSON or other errors)
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
    CreatedArtist:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: UUID of the created artist account
        account_id:
          type: string
          format: uuid
          description: UUID of the artist account (same as id)
        name:
          type: string
          description: Name of the artist
        created_at:
          type: string
          format: date-time
          nullable: true
          description: ISO timestamp of when the artist was created
        updated_at:
          type: string
          format: date-time
          nullable: true
          description: ISO timestamp of when the artist was last updated
        image:
          type: string
          nullable: true
          description: Artist profile image URL
        instruction:
          type: string
          nullable: true
          description: Custom AI instruction for this artist
        knowledges:
          type: array
          items:
            type: string
          nullable: true
          description: Knowledge base references for this artist
        label:
          type: string
          nullable: true
          description: Record label name
        organization:
          type: string
          nullable: true
          description: Organization name
        company_name:
          type: string
          nullable: true
          description: Company name
        job_title:
          type: string
          nullable: true
          description: Job title
        role_type:
          type: string
          nullable: true
          description: Role type
        onboarding_status:
          type: string
          nullable: true
          description: Onboarding status
        onboarding_data:
          nullable: true
          description: Onboarding data
        account_info:
          type: array
          description: Account info records
        account_socials:
          type: array
          description: Linked social media accounts
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Recoup API key. [Learn more](/quickstart#api-keys).

````