# List bio versions

Source: https://docs.musicnerd.net/api-reference/artist-bio/bio-versions

List bio versions

## GET /api/artistBio/{id}/versions

Full OpenAPI specification: https://docs.musicnerd.net/spec/artist-bio.json

## Authentication

This operation requires one of the security alternatives in the specification below. Security scheme definitions are included where present in the published specification.

[Authentication guide](https://docs.musicnerd.net/authentication)

## Operation and referenced schemas

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Music Nerd API: artist bio",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://musicnerd-api.vercel.app",
      "description": "Production"
    },
    {
      "url": "https://musicnerd-api-staging.vercel.app",
      "description": "Staging (staging database)"
    }
  ],
  "paths": {
    "/api/artistBio/{id}/versions": {
      "get": {
        "summary": "List bio versions",
        "operationId": "getArtistBioVersions",
        "security": [
          {
            "privyBearer": []
          }
        ],
        "description": "Lists the artist's saved bios, newest first, and marks the pinned one. Only the artist's approved claimant or an admin may read them.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The artist's ID (a UUID).",
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "aab92f80-f9e1-4299-aa33-7dd85c8de5d3"
          }
        ],
        "responses": {
          "200": {
            "description": "The saved bios, newest first.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BioVersions"
                },
                "example": {
                  "status": "ok",
                  "versions": [
                    {
                      "id": "5b7f3c1e-2d4a-4e8b-9c6f-1a2b3c4d5e6f",
                      "artistId": "aab92f80-f9e1-4299-aa33-7dd85c8de5d3",
                      "bioText": "Bio Ritmo is a 10-piece salsa band from Richmond, Virginia.",
                      "isPinned": true,
                      "createdAt": "2026-10-21 14:02:11.512+00"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "`id` isn't a UUID.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "status": "error",
                  "error": "artistId must be a UUID"
                }
              }
            }
          },
          "401": {
            "description": "No token, an invalid or expired token, or no Music Nerd user for it.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "status": "error",
                  "error": "Not signed in"
                }
              }
            }
          },
          "403": {
            "description": "The user is neither the artist's claimant nor an admin, or the artist's claim changed during the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "status": "error",
                  "error": "Not your artist"
                }
              }
            }
          },
          "500": {
            "description": "The read failed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "status": "error",
                  "error": "Failed to load bio versions"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BioVersions": {
        "type": "object",
        "required": [
          "status",
          "versions"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "ok"
            ]
          },
          "versions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BioVersion"
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "status",
          "error"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "error"
            ]
          },
          "error": {
            "type": "string"
          }
        }
      },
      "BioVersion": {
        "type": "object",
        "required": [
          "id",
          "artistId",
          "bioText",
          "isPinned",
          "createdAt"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "artistId": {
            "type": "string",
            "format": "uuid"
          },
          "bioText": {
            "type": "string"
          },
          "isPinned": {
            "type": "boolean",
            "description": "True for the bio that is locked as the About."
          },
          "createdAt": {
            "type": "string",
            "description": "When the version was saved (UTC)."
          }
        }
      }
    },
    "securitySchemes": {
      "privyBearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Access token",
        "description": "The signed-in user's access token. Copy it at https://musicnerd.net/access after signing in. Each operation says who may call it: any signed-in user, or the artist's approved claimant or a Music Nerd admin."
      }
    }
  }
}
```
