> ## Documentation Index
> Fetch the complete documentation index at: https://chisa.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Details

> Query the top level details of a person.

**Append To Response**

This method supports using `append_to_response`. Read more about this here.

**Genders**

| **Value**            | **Gender**                 |

|----------------------|----------------------------|

| 0                    | Not set / not specified    |

| 1                    | Female                     |

| 2                    | Male                       |

| 3                    | Non-binary                 |



## OpenAPI

````yaml api-reference/openapi.json get /3/person/{{person_id}}
openapi: 3.0.3
info:
  title: Themoviedb API
  description: >-
    Version 3 (stable) of The Movie Database (TMDB) API offers a concise list of
    available methods for movies, TV shows, actors, and images.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
  - url: https://api.themoviedb.org/3
security: []
tags:
  - name: Account
  - name: Authentication
    description: >-
      # How do I generate a session id?


      As outlined in the [getting started
      guide](https://developer.themoviedb.org/docs/getting-started), the basics
      to getting a user authenticated look like this:


      1. **Create a new request token**  

      2. **Get the user to authorize the request token**  

      3. **Create a new session id with the authorized request token**  


      Steps 1 and 3 should be fairly easy to understand, but let's walk through
      each to ensure clarity.


      ## Step 1: Create a request token


      The first step as a developer is to request a new token. This is a
      **temporary token** required to ask the user for permission to access
      their account. This token will automatically expire **after 60 minutes**
      if it's not used.


      ## Step 2: Ask the user for permission


      With a request token in hand, forward your user to the following URL:


      ```

      https://www.themoviedb.org/authenticate/{REQUEST_TOKEN}

      ```


      You can also pass this URL a `redirect_to` parameter, like so:


      ```

      https://www.themoviedb.org/authenticate/{REQUEST_TOKEN}?redirect_to=http://www.yourapp.com/approved

      ```


      Once the user has approved your request token, they will either be
      redirected to the URL you specified in the `redirect_to` parameter or to
      the `/authenticate/allow` path on TMDB. If they aren't redirected to a
      custom URL, the page will also include an `Authentication-Callback`
      header. This header contains the API call for step #3. You can either
      manually generate it or simply use the one we return.


      ## Step 3: Create a session ID


      By calling the **new session method** with the request token that has been
      approved by the user in Step 2, we will return a **new session_id**. This
      session can now be used to write user data. You should treat this key
      **like a password** and keep it secret.


      ## What about guest sessions?


      A **guest session** can be used to rate movies **without** requiring a
      registered TMDB user account. For more information about how to create a
      guest session, see
      [here](https://developer.themoviedb.org/docs/authentication).
  - name: Certification
  - name: Changes
  - name: Collections
  - name: Companies
  - name: Configuration
  - name: Credits
  - name: Discover
  - name: Find
  - name: Genres
  - name: Guest Session
  - name: Keywords
  - name: List
    description: >-
      ## v3 or v4 list? 😕


      You may have noticed that the a v4 version of our list API exists. While
      these v3 list methods continue to work, all of the new features you can
      see on our website are only available if you switch to the v4 lists.


      **What are some of the improvements in v4?**


      - You can import "unlimited" items in a single request
          
      - You can use mixed type (movie and TV) lists
          
      - You can use private lists
          
      - You can add and use comments per item
          
      - There are more sort options
          
      - They are faster
          
      - Check the v4 documentation for more information.
  - name: Movie Lists
  - name: Movies
  - name: Networks
  - name: People Lists
  - name: People
  - name: Reviews
  - name: Search
  - name: Trending
  - name: TV Series Lists
  - name: TV Series
  - name: TV Seasons
  - name: TV Episodes
  - name: TV Episode Groups
  - name: Watch Providers
paths:
  /3/person/{{person_id}}:
    parameters:
      - name: person_id
        in: path
        required: true
        schema:
          type: string
    get:
      tags:
        - People
      summary: Details
      description: >-
        Query the top level details of a person.


        **Append To Response**


        This method supports using `append_to_response`. Read more about this
        here.


        **Genders**


        | **Value**            | **Gender**                 |


        |----------------------|----------------------------|


        | 0                    | Not set / not specified    |


        | 1                    | Female                     |


        | 2                    | Male                       |


        | 3                    | Non-binary                 |
      operationId: details8
      parameters:
        - name: language
          in: query
          schema:
            type: string
            example: en-US
      responses:
        '200':
          description: Details
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=13390
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Thu, 09 Jan 2025 09:30:02 GMT
            ETag:
              schema:
                type: string
                example: W/"c5dfcd4e9b02a107c6b1640972247f24"
            Server:
              schema:
                type: string
                example: openresty
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            Via:
              schema:
                type: string
                example: >-
                  1.1 c9d6fa331b6e31ab90cd2309d0f765d0.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: aqvZt6-rueCZF4vVDASozkPG0g3m_LWkXcMRFC9Tn1R5igYlyw8h9A==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: LOS50-P2
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
            x-memc:
              schema:
                type: string
                example: HIT
            x-memc-age:
              schema:
                type: string
                example: '9151'
            x-memc-expires:
              schema:
                type: string
                example: '13390'
            x-memc-key:
              schema:
                type: string
                example: 13384059b10a774bc0fd0eab3cd46f56
          content:
            application/json:
              schema:
                type: object
                properties:
                  adult:
                    type: boolean
                    example: false
                  also_known_as:
                    type: array
                    items:
                      type: string
                      example: クァク・ジェヨン
                    example:
                      - クァク・ジェヨン
                      - Квак Чэ Ён
                      - ' Kwak Jae-young'
                  biography:
                    type: string
                    example: >-
                      Kwak Jae-yong is a South Korean film director and
                      screenwriter. He studied physics at Kyung Hee University.
                      He achieved success with his debut film Watercolor
                      Painting in a Rainy Day in 1989, but the failure of his
                      next two movies led to eight years of unemployment before
                      a comeback with the smash-hit film My Sassy Girl in 2001.
                      He is known for his limitless fondness of love stories set
                      in a mix of different genres.


                      Description above from the Wikipedia article Kwak
                      Jae-yong, licensed under CC-BY-SA, full list of
                      contributors on Wikipedia.
                  birthday:
                    type: string
                    example: '1959-05-22'
                  deathday:
                    nullable: true
                    example: null
                  gender:
                    type: number
                    example: 2
                  homepage:
                    nullable: true
                    example: null
                  id:
                    type: number
                    example: 63429
                  imdb_id:
                    type: string
                    example: nm1030706
                  known_for_department:
                    type: string
                    example: Directing
                  name:
                    type: string
                    example: Kwak Jae-yong
                  place_of_birth:
                    type: string
                    example: Suwon, Gyeonggi, South Korea
                  popularity:
                    type: number
                    example: 458.071
                  profile_path:
                    type: string
                    example: /oTpZ0Ek4qoI8U0tRIViUhgfB05b.jpg
              examples:
                Details:
                  value:
                    adult: false
                    also_known_as:
                      - クァク・ジェヨン
                      - Квак Чэ Ён
                      - ' Kwak Jae-young'
                    biography: >-
                      Kwak Jae-yong is a South Korean film director and
                      screenwriter. He studied physics at Kyung Hee University.
                      He achieved success with his debut film Watercolor
                      Painting in a Rainy Day in 1989, but the failure of his
                      next two movies led to eight years of unemployment before
                      a comeback with the smash-hit film My Sassy Girl in 2001.
                      He is known for his limitless fondness of love stories set
                      in a mix of different genres.


                      Description above from the Wikipedia article Kwak
                      Jae-yong, licensed under CC-BY-SA, full list of
                      contributors on Wikipedia.
                    birthday: '1959-05-22'
                    deathday: null
                    gender: 2
                    homepage: null
                    id: 63429
                    imdb_id: nm1030706
                    known_for_department: Directing
                    name: Kwak Jae-yong
                    place_of_birth: Suwon, Gyeonggi, South Korea
                    popularity: 458.071
                    profile_path: /oTpZ0Ek4qoI8U0tRIViUhgfB05b.jpg

````