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

# Start a People Search

> Find people, optionally discover additional candidates, and build every result to a quick, partial, or full profile.

Search accepts a plain-English query, structured intent, identity signals, or any supported combination of them. It returns one pollable search resource and builds every selected result to the requested profile depth.

```bash theme={"dark"}
curl -X POST "https://api.orbitsearch.com/v3/search" \
  -H "Authorization: Bearer $ORBIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "Machine learning engineers in San Francisco",
    "candidate_discovery": true,
    "profile_depth": "partial",
    "include_profile": true,
    "limit": 10
  }'
```

## Request Body

| Field | Type | Default | Description |
| - | - | - | - |
| `query` | string | — | Plain-English description of the people you want. When you also provide `intent`, Orbit derives a base intent from the query before applying your structured fields. |
| `intent` | object | — | Structured criteria to use alone or with `query`. Fields you provide override fields Orbit derives from the query. See [Structured intent](https://docs.orbitsearch.com/api/search/search-intent.md). |
| `signals` | object | `{}` | Known identity signals such as an address, email, phone number, username, LinkedIn URL, web page, or a face from a photo. |
| `candidate_discovery` | boolean | `false` | When `true`, continue beyond known matches to find additional people. |
| `candidate_discovery_limit` | integer | `10` | Maximum number of Candidate Discovery results. Allowed range: 1–50. Valid only with `candidate_discovery: true`. |
| `profile_depth` | `quick`, `partial`, or `full` | `partial` | Minimum profile depth required for each ready result. `quick` builds level 1 profiles from a phone, email, or address, or from pages about one named person. See [Quick depth](https://docs.orbitsearch.com/concepts/search.md#quick-depth). |
| `include_profile` | boolean | `true` | Embed each readable result's profile with its identity fields, contact fields, and generated sections. Lightweight search previews are returned either way. |
| `limit` | integer | `20` | Maximum number of matches returned from the existing Orbit index. Allowed range: 1–100. Candidate Discovery results append outside this limit, and profile upgrades update selected rows in place, so the final result count can exceed `limit`. |
| `webhooks` | boolean | `false` | Push this search's generation updates to your subscribed [webhook endpoints](https://docs.orbitsearch.com/guides/search-webhooks.md) as each result's profile is built, in place of polling. Pair it with `include_profile: false`: the deliveries carry each full profile either way. |
| `face_search` | boolean | `false` | Search for additional sources using a person's portrait during full generation. Requires `candidate_discovery: true`, `profile_depth: "full"`, and `limit + candidate_discovery_limit` of at most 30. Cannot be combined with `signals.face_source`. Already-full cached profiles are not regenerated. |

> [!TIP]
>
> Face search is significantly more expensive: **10 credits total per profile instead of 1 credit for a normal full generation (10×)**. Use it only when you need maximum coverage of a person. Orbit reserves up to 10 credits per eligible profile and charges that total when a face-search provider succeeds, even with no matches or if later work fails. Without a usable portrait, or if all face-search providers fail, ordinary delivered-depth pricing applies.

Provide a non-empty `query`, a non-empty `intent`, at least one identity signal, or a supported combination. Unknown fields are rejected. Do not include an intent `version`; Orbit owns schema versioning internally.

With `query` alone, the known-profile search uses Orbit's normal model router. When `candidate_discovery` is `true`, Orbit also derives names, experience, education, location, and semantic clauses for the discovery phase. You do not need to perform that conversion yourself.

You can send `query` and `intent` together when plain English provides useful context but your application needs to correct or constrain specific fields. Orbit first derives a base intent from `query`, then overlays your `intent`. At each supplied field, arrays, scalar values, and `null` replace the derived value; nested objects merge field by field. Known-profile Search uses the original query plus the merged intent, while Candidate Discovery uses the merged intent.

```json theme={"dark"}
{
  "query": "Machine learning engineers at Anthropic near San Francisco",
  "intent": {
    "experiences": [
      {
        "titleAnyOf": ["Research Engineer", "ML Engineer"],
        "organization": "Anthropic",
        "temporalScope": "current"
      }
    ],
    "geo": { "distance": "25 miles" }
  },
  "candidate_discovery": true
}
```

> [!TIP]
>
> Candidate Discovery defaults to 10 results. A lower value reduces downstream profile-generation fanout, although source discovery and clustering can still dominate initial discovery time.

### Identity Signals

```json theme={"dark"}
{
  "signals": {
    "address": "123 Main Street, San Francisco, CA",
    "email": "person@example.com",
    "phone": "+14155550123",
    "linkedin_url": "https://www.linkedin.com/in/example",
    "urls": ["https://example.com/about"],
    "usernames": ["example_person"]
  }
}
```

You rarely need every signal at once. With `candidate_discovery: true`, an address, email, or phone number can resolve to multiple associated people. Orbit adds every unique match as a separate result, then builds each result to `profile_depth`. Username and LinkedIn signals identify one person. Generic URLs can also constrain discovery.

### Face Source

`face_source` is a face from a photo you stored with [Detect faces](https://docs.orbitsearch.com/api/search/faces-detect.md): the photo's `image_url` and the picked face's `bbox`. The `bbox` is optional when the photo has one face.

```json theme={"dark"}
{
  "signals": {
    "face_source": {
      "image_url": "face-source:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08.jpg",
      "bbox": [212, 140, 388, 356]
    }
  },
  "candidate_discovery_limit": 10
}
```

A face is enough to start a search. Orbit searches the web for the face and returns the possible people, up to `candidate_discovery_limit` (default 10), best match first. Each result's confidence includes how strongly the face matches that person. A `query` with the person's name, or another signal, ranks matching results higher. A face search always runs candidate discovery, so leave `candidate_discovery` out or set it to `true`. `face_source` works on searches outside a directory with `partial` or `full` depth. See [Face Search](https://docs.orbitsearch.com/concepts/search.md#face-search) for the whole flow.

## Response

Orbit returns `202 Accepted` while work is running and `200 OK` when the search is already terminal.

```json theme={"dark"}
{
  "search_id": "3e26d3b8-76aa-4be2-8d43-ef6a6d8895cb",
  "request_id": "search-ml-sf-001",
  "status": "running",
  "candidate_discovery": true,
  "candidate_discovery_completed": false,
  "profile_depth": "partial",
  "include_profile": true,
  "profile_upgrades_completed": false,
  "billing": {
    "id": "9b1f6c2e-4d3a-4f8e-9c21-7a5e0d2b6f13",
    "pricingVersion": "2026-12-04",
    "reservedCredits": 5.5,
    "consumedCredits": 1,
    "releasedCredits": 0,
    "heldCredits": 4.5,
    "status": "open"
  },
  "discovered_sources": [
    {
      "link": "https://example.org/ml-engineers",
      "title": "Machine learning engineers",
      "sourceImage": "https://example.org/favicon.ico"
    }
  ],
  "results": [
    {
      "profile_id": "profile_123",
      "status": "ready",
      "generation_level": 2,
      "sources": ["search"],
      "candidate_sources": [
        {
          "link": "https://example.com/people/example-person",
          "title": "Example Person, Machine Learning Engineer",
          "sourceImage": "https://www.google.com/s2/favicons?sz=64&domain=example.com"
        }
      ],
      "preview": {
        "id": "profile_123",
        "displayName": "Example Person",
        "personName": "Example Person",
        "avatarUrl": "https://example.com/example-person.jpg",
        "generationLevel": 2
      },
      "profile": {
        "id": "profile_123",
        "displayName": "Example Person",
        "generationLevel": 2,
        "avatarUrl": "https://example.com/example-person.jpg",
        "verified": false,
        "emails": ["person@example.com"],
        "phoneNumbers": ["+14155550123"],
        "profileUrl": "https://orbitsearch.com/example-person-a1b2c3d4",
        "slug": "example-person-a1b2c3d4",
        "category": {
          "id": "ENGINEER",
          "label": "Engineer"
        },
        "location": {
          "city": "San Francisco",
          "region": "CA",
          "country": "US"
        },
        "sections": {
          "bio": {
            "bio": "Example Person is a machine learning engineer in San Francisco who builds recommendation systems."
          },
          "jobs": {
            "items": [
              {
                "id": "job_123",
                "kind": "job",
                "company": "Example AI",
                "title": "Machine Learning Engineer",
                "years": "2022-present"
              }
            ]
          },
          "socials": {"items": []}
        }
      }
    },
    {
      "profile_id": "profile_456",
      "status": "enriching",
      "generation_level": 1,
      "sources": ["candidate_discovery"],
      "candidate_sources": [
        {
          "link": "https://example.com/team",
          "title": "Example team",
          "sourceImage": "https://example.com/favicon.ico"
        }
      ]
    }
  ],
  "created_at": "2026-07-18T18:00:00.000Z",
  "updated_at": "2026-07-18T18:00:02.000Z",
  "links": {
    "status": "/v3/search/3e26d3b8-76aa-4be2-8d43-ef6a6d8895cb"
  }
}
```

Search statuses are `running`, `completed`, `completed_with_errors`, and `failed`. Individual results are `generating`, `enriching`, `ready`, or `failed`. A failed result includes a machine-readable `failure` object and does not prevent other results from becoming ready.

`candidate_discovery_completed` and `profile_upgrades_completed` report each phase of the search on its own: whether discovery adds more results, and whether every current result reached the requested depth. See [Get search status](https://docs.orbitsearch.com/api/search/search-status.md) for how to poll with them.

The `results` array is stable while the search runs. A result that appears in one response never disappears from a later one, and its status only moves forward: `enriching` can become `ready` or `failed`, and `ready` never regresses. New candidate results append after the existing rows as discovery finds them. Key your UI by `profile_id` and update rows in place.

Each result can carry `confidence`, a match score from 0 to 1, with `confidence_level` (`low`, `medium`, or `high`) and `confidence_status`. The status is `provisional` while results can still change and `final` once the result list is final. `match_summary` lists the inputs each result matches, partly matches, or conflicts with. The snapshot's `confidence_kind` is `identity` when the search names a person, such as by name, contact, or face, and `criteria` otherwise. For identity searches, `none_of_above_confidence` is one minus the best result's `confidence`.

See [Confidence Levels](https://docs.orbitsearch.com/concepts/confidence.md) for score ranges and recommendations on which results to show or select in your product.

Each result lists its person's source pages in `candidate_sources`, with either `include_profile` value. The pages Candidate Discovery assigned to the result come first, then the other pages Orbit holds for that person, up to 200 pages. Each receipt contains `link`, `title`, and `sourceImage`. Use these pages to show what the search found for each person, or to build your own summary without the full profile.

When candidate discovery is enabled, `discovered_sources` lists every page the search has found, in the order the search first found each one, up to 200 pages. The list grows while the search runs and stays complete after it ends. When Orbit assigns a page to a candidate, the receipt also appears in that result's `candidate_sources` array. `results[].sources` remains a list of result origins: `search`, `candidate_discovery`, or both.

Each result's `sources` array identifies whether it was returned by known `search`, `candidate_discovery`, or both. Candidate Discovery is listed first when both paths found the same deduplicated profile.

> [!NOTE]
>
> Every known-search result includes a lightweight `preview` built from data Search already returned, with either `include_profile` value. The preview can include fields such as name, avatar, location, headline, and generation level when available. `include_profile` controls only whether the heavier `profile` object appears. When it is `true`, each readable result embeds these profile fields when they have values: the identity fields `id`, `displayName`, `personName`, `aliases`, `generationLevel`, `avatarUrl`, `profileUrl`, `slug`, `category`, `verified`, `location`, and `headline`; the contact fields `emails`, `emailDetails`, `phoneNumbers`, `phoneDetails`, and `addresses`; `employmentDomains`; and `sections`, with generated sections such as `bio`, `jobs`, and `education`. Each result's source pages are in `candidate_sources`. For the image gallery and the sources behind each section, call [Read a profile](https://docs.orbitsearch.com/api/enrich/read-profile.md). Later polls return the updated profile. Orbit builds selected results to `profile_depth` with either value, and `generation_level` reports how deep each embedded profile is.

## Authentication and Cost

This endpoint requires `search:read`. Requests with `include_profile: true` or `webhooks: true` also require `profile:read`, since both hand the caller whole profiles. See [API credits](https://docs.orbitsearch.com/concepts/credits.md) for discovery, profile-generation, and read charges, and [rate limits](https://docs.orbitsearch.com/concepts/rate-limits.md) for request limits.

Starting a search holds credits for the most work it can reach: the cached-profile rate for `limit`, and with `candidate_discovery: true` the generation rate for the requested `profile_depth` across every profile `candidate_discovery_limit` allows. Orbit charges each result as it is delivered and releases the remaining hold when the search reaches a terminal status. Read `billing` on the response for the credits held and spent so far; see [Reading your charge](https://docs.orbitsearch.com/concepts/credits.md#reading-your-charge) and [Reservations](https://docs.orbitsearch.com/concepts/credits.md#reservations).

## Idempotency

If you send no request ID, Orbit generates one. `search_id` is the public handle for polling and debugging.

To retry a POST safely after losing the HTTP response, create an ID before the first attempt and send it as `request_id` in the body or as the `Idempotency-Key` header. If you send both, Orbit uses `request_id`. Reuse the ID only with the exact same body. Reusing it for different inputs returns `409 developer_v3_search_idempotency_conflict`.

Poll `links.status` until the search reaches a terminal status. See [Get search status](https://docs.orbitsearch.com/api/search/search-status.md).


## OpenAPI

````yaml openapi.json POST /v3/search
openapi: 3.1.0
info:
  title: Orbit Search API
  version: 3.0.0
  description: >-
    Orbit Search is the people data API for AI agents and apps: find anyone by
    name, email, phone, username, photo or description, with source-backed
    profiles.
servers:
  - url: https://api.orbitsearch.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Search
    description: Find people and poll search results.
  - name: Enrich
    description: Read or enrich known Orbit profiles.
  - name: People
    description: How people are connected.
  - name: Watchers
    description: Watch a profile on a schedule and read what each run found.
  - name: Webhooks
    description: Register endpoints that receive signed event deliveries.
  - name: Agents
    description: >-
      Let an AI agent create its own Orbit workspace, and hand it to the person
      it works for.
paths:
  /v3/search:
    post:
      tags:
        - Search
      summary: Start a People Search
      description: >-
        Find people, optionally discover additional candidates, and build every
        selected result to the requested profile depth. Requires the
        `search:read` scope. Requests that include profiles also require
        `profile:read`.
      operationId: startPeopleSearch
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchRequest'
      responses:
        '200':
          description: The search is already in a terminal state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchSnapshot'
        '202':
          description: The search is running.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchSnapshot'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/InsufficientCredits'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      description: >-
        A client-generated key for a safe retry. If the body omits `request_id`,
        Orbit can use this value as the request ID.
      schema:
        type: string
        maxLength: 200
  schemas:
    SearchRequest:
      type: object
      description: >-
        Provide `query`, `intent`, at least one identity signal, or a supported
        combination. When query and intent are both present, Orbit derives a
        base intent from query and overlays the caller-provided intent. Arrays,
        scalar values, and null replace derived values; nested objects merge
        field by field.
      additionalProperties: false
      properties:
        request_id:
          type: string
          minLength: 1
          description: >-
            Your idempotency key. Reuse it only when retrying the same logical
            request.
        query:
          type: string
          minLength: 1
          description: >-
            A plain-English description of the people you want. When intent is
            also present, Orbit derives a base intent from this query before
            applying the caller-provided structured fields.
        intent:
          $ref: '#/components/schemas/StructuredIntent'
        signals:
          $ref: '#/components/schemas/IdentitySignals'
        candidate_discovery:
          type: boolean
          default: false
          description: >-
            Continue beyond known matches to find additional people. Address,
            email, and phone signals can each resolve to multiple associated
            people.
        candidate_discovery_limit:
          type: integer
          minimum: 1
          maximum: 50
          default: 10
          description: >-
            Maximum number of Candidate Discovery results. Valid only with
            candidate_discovery set to true. A lower value reduces downstream
            profile-generation fanout, although source discovery and clustering
            can still dominate initial discovery time.
        profile_depth:
          type: string
          enum:
            - quick
            - partial
            - full
          default: partial
          description: The minimum profile depth required for each ready result.
        include_profile:
          type: boolean
          default: true
          description: >-
            Embed each readable result's profile with its identity fields,
            contact fields, and generated sections. Read GET
            /v3/enrich/{profile_id} for the image gallery and source links. This
            controls the response shape; profile_depth controls how deep each
            profile is built.
        limit:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
          description: >-
            The maximum number of matches returned from the existing Orbit
            index. Candidate Discovery results append outside this limit, and
            profile upgrades update selected results in place.
        webhooks:
          type: boolean
          default: false
          description: >-
            Deliver this search's generation updates to the webhook endpoints
            subscribed to search.profile.updated and search.completed.
            Deliveries embed whole profiles, so this requires the profile:read
            scope.
        face_search:
          type: boolean
          default: false
          description: >-
            Opt into portrait-based source expansion during full generation.
            Requires candidate_discovery=true, profile_depth=full and limit +
            candidate_discovery_limit <= 30. Cannot be combined with
            signals.face_source. Already-full cached profiles are not
            regenerated.


            Significantly more expensive: 10 credits total per generated profile
            instead of the normal 1 (10x). Use only when you need maximum
            coverage of a person. Reserves up to 10 credits per eligible
            profile. A successful face-search provider response, including an
            empty result, charges the 10-credit inclusive total even if later
            generation fails. With no usable portrait or all providers failing,
            ordinary delivered-depth pricing applies.
      anyOf:
        - required:
            - query
        - required:
            - intent
        - required:
            - signals
      example:
        request_id: search-ml-sf-001
        query: Machine learning engineers at Anthropic near San Francisco
        intent:
          experiences:
            - titleAnyOf:
                - Research Engineer
                - ML Engineer
              organization: Anthropic
              temporalScope: current
          geo:
            distance: 25 miles
        candidate_discovery: true
        profile_depth: partial
        include_profile: true
        limit: 10
    SearchSnapshot:
      type: object
      required:
        - search_id
        - request_id
        - status
        - candidate_discovery
        - profile_depth
        - include_profile
        - profile_upgrades_completed
        - results
        - created_at
        - updated_at
        - links
      properties:
        search_id:
          type: string
          description: >-
            Server-generated identifier for this search. Use it to poll the
            status endpoint.
        request_id:
          type: string
          description: >-
            The idempotency key from the original request, or a generated value
            when the request omitted it.
        status:
          type: string
          description: >-
            Overall search lifecycle. `running` means work is still in progress;
            poll until the status is terminal. `completed` means every result
            reached the requested profile depth; a search can complete with an
            empty results list when nothing matched. `completed_with_errors`
            means ready results are available but some work failed. `failed`
            means work failed and no ready results are available.
          enum:
            - running
            - completed
            - completed_with_errors
            - failed
        candidate_discovery:
          type: boolean
          description: >-
            Whether this search runs candidate discovery, as resolved from the
            request.
        candidate_discovery_completed:
          type: boolean
          description: >-
            Whether the result list is final. Once true, discovery adds no more
            results to this search; the results themselves can still be
            generating or enriching toward the requested depth. For discovery
            searches this becomes true when clustering completes and every
            discovered person appears in results. If discovery failed,
            candidate_discovery_failure explains why. Present only when
            candidate_discovery is true.
        provider_results_final:
          type: boolean
          description: >-
            Whether the people-data provider lookup for a supplied phone, email,
            or address returned its complete owner set. Once true, every owner
            of that contact is in results with the contacts the provider
            reported, usually within the first response and before biography
            work. Discovery by name can still add results until
            candidate_discovery_completed is true. Present only when
            candidate_discovery is true and the request carried a phone, email,
            or address signal.
        profile_depth:
          type: string
          description: The minimum profile depth requested for each ready result.
          enum:
            - quick
            - partial
            - full
        include_profile:
          type: boolean
          description: Whether readable results embed their Search profile.
        profile_upgrades_completed:
          type: boolean
          description: >-
            Whether every result in results has reached the requested
            profile_depth or failed. While candidate_discovery_completed is
            false, discovery can still add results with new profile work.
        results:
          type: array
          description: >-
            The people this search has found so far. Results are append-only: a
            reported result is never removed, and a ready result never
            regresses.
          items:
            $ref: '#/components/schemas/SearchResult'
        confidence_kind:
          type: string
          enum:
            - identity
            - criteria
          description: >-
            `identity` when the search looks for one person, such as by name,
            contact, or face, and `criteria` when it looks for everyone who fits
            a description.
        none_of_above_confidence:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            One minus the best result's `confidence`. It is high when no result
            matches well. Present on `identity` searches.
        discovered_sources:
          type: array
          description: >-
            Every page the search has found, in the order the search first found
            each one. The list starts filling within seconds and holds up to 200
            pages. A page stays listed through later polls and after the search
            ends, including a page Candidate Discovery assigned to a result.
            Present when candidate_discovery is true.
          items:
            $ref: '#/components/schemas/CandidateDiscoverySource'
        candidate_discovery_failure:
          $ref: '#/components/schemas/Failure'
          description: Why candidate discovery failed. Present only when discovery failed.
        population:
          $ref: '#/components/schemas/Population'
        query_intent:
          allOf:
            - $ref: '#/components/schemas/QueryIntent'
          description: Present when the search parsed a plain-English query.
        created_at:
          type: string
          format: date-time
          description: When the search was created.
        updated_at:
          type: string
          format: date-time
          description: When the snapshot last changed.
        links:
          type: object
          required:
            - status
          properties:
            status:
              type: string
              description: Relative URL for the search status endpoint.
        billing:
          $ref: '#/components/schemas/OperationBilling'
          description: >-
            Credits held and spent for this search. The final consumedCredits is
            the full charge once status is settled.
    StructuredIntent:
      type: object
      description: Advanced structured criteria. Do not include a `version` field.
      minProperties: 1
      additionalProperties: false
      properties:
        names:
          type: array
          items:
            type: string
            minLength: 1
        experiences:
          type: array
          items:
            $ref: '#/components/schemas/ExperienceIntent'
        semanticClauses:
          type: array
          items:
            $ref: '#/components/schemas/SemanticClause'
        schools:
          type: array
          items:
            $ref: '#/components/schemas/SchoolIntent'
        geo:
          oneOf:
            - $ref: '#/components/schemas/GeoIntent'
            - type: 'null'
        demographics:
          oneOf:
            - $ref: '#/components/schemas/DemographicsIntent'
            - type: 'null'
        personalization:
          oneOf:
            - $ref: '#/components/schemas/PersonalizationIntent'
            - type: 'null'
    IdentitySignals:
      type: object
      description: Known identity signals. Send only the signals you have.
      minProperties: 1
      additionalProperties: false
      properties:
        address:
          type: string
          minLength: 1
        email:
          type: string
          format: email
        phone:
          type: string
          minLength: 1
        linkedin_url:
          type: string
          format: uri
        urls:
          type: array
          items:
            type: string
            format: uri
        usernames:
          type: array
          items:
            type: string
            minLength: 1
        face_source:
          allOf:
            - $ref: '#/components/schemas/FaceSource'
          description: >-
            A face from a photo. It is enough on its own: the search returns the
            possible people, up to `candidate_discovery_limit`, best match
            first.
    SearchResult:
      type: object
      required:
        - profile_id
        - status
        - generation_level
        - sources
      properties:
        profile_id:
          type: string
          description: >-
            Stable identifier for this person. Use it with the profile
            endpoints.
        status:
          type: string
          description: >-
            Result lifecycle. `generating` means candidate discovery found this
            person but no readable profile exists yet; it appears only on
            candidate discovery results. `enriching` means a readable profile
            exists but is below the requested depth. `ready` means the profile
            reached the requested profile_depth. `failed` means this result
            cannot reach the requested depth; failure explains why. Statuses
            only move forward.
          enum:
            - generating
            - enriching
            - ready
            - failed
        generation_level:
          description: >-
            The stored generation level of this profile: 1 contains Orbit
            identity data, 2 adds LinkedIn enrichment, 3 adds web, social, and
            OSINT enrichment. A `quick` depth requires at least level 1, a
            `partial` depth requires at least level 2, and a `full` depth
            requires level 3. Null until the profile is first published.
          oneOf:
            - type: integer
              minimum: 1
            - type: 'null'
        sources:
          type: array
          description: >-
            The origins that produced this result. This field does not contain
            source receipts.
          items:
            type: string
            enum:
              - search
              - candidate_discovery
        candidate_sources:
          type: array
          description: >-
            The person's source pages, present with either `include_profile`
            value. The pages Candidate Discovery assigned to this result come
            first and stay stable when the result becomes ready; each of them is
            also listed in `discovered_sources`. The other pages Orbit holds for
            the person follow, up to 200 pages in all.
          items:
            $ref: '#/components/schemas/CandidateDiscoverySource'
        preview:
          type: object
          additionalProperties: true
          description: >-
            Lightweight search preview built from the data Search returned for
            this person, such as name, avatar, location, headline, and
            generation level. Known-search results carry it with either
            include_profile value.
        profile:
          $ref: '#/components/schemas/SearchProfile'
          description: >-
            The profile embedded in a readable result when include_profile is
            true: identity fields, contact fields, and generated sections. Read
            GET /v3/enrich/{profile_id} for the image gallery and source links.
        confidence:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            How well this result matches the search inputs, from 0 to 1. Each
            result is scored on its own. For a face search it includes how
            strongly the face matches this person.
        confidence_level:
          type: string
          enum:
            - low
            - medium
            - high
          description: >-
            `confidence` as a level: `high` from 0.75, `medium` from 0.35, and
            `low` below.
        confidence_status:
          type: string
          enum:
            - provisional
            - final
          description: >-
            `provisional` while the result list can still change, `final` once
            it is final.
        match_summary:
          $ref: '#/components/schemas/MatchSummary'
        failure:
          $ref: '#/components/schemas/Failure'
    CandidateDiscoverySource:
      type: object
      additionalProperties: false
      required:
        - link
        - title
        - sourceImage
      properties:
        link:
          type: string
          format: uri
          description: URL of the discovered source page.
        title:
          type: string
          description: Display title of the source page or site.
        sourceImage:
          type: string
          format: uri
          description: URL of the favicon for the site that hosts the source page.
        face_match:
          type: object
          description: >-
            Present on a face search for each page the search found a face on. A
            page with `kept` true is a page of the picked face, and a confirmed
            page is a strong match. A page with `kept` false shows another face
            that looks alike.
          required:
            - score
            - confirmed
          properties:
            score:
              type: number
              minimum: 0
              maximum: 1
              description: >-
                How alike the face on this page and the picked face are, from 0
                to 1.
            confirmed:
              type: boolean
              description: Whether the score is high enough to confirm the same person.
            kept:
              type: boolean
              description: >-
                Whether the search counts this page as a page of the picked
                face. A page with `kept` false shows another face that looks
                alike and is listed in `discovered_sources` only.
            thumbnail:
              type: string
              description: A small image of the face found on the page, as a `data:` URL.
    Failure:
      type: object
      required:
        - code
        - message
        - retryable
        - reason
      properties:
        code:
          type: string
        message:
          type: string
        retryable:
          type: boolean
        reason:
          type: string
        suggested_inputs:
          type: array
          items:
            type: string
    Population:
      type: object
      required:
        - kind
        - id
        - name
        - size
        - profile_depth
        - credits_quoted
        - status
      description: >-
        Present on population searches: the subject, the depth, the reserved
        credits and where the search is.
      properties:
        kind:
          type: string
          enum:
            - company
            - school
        id:
          type: string
        name:
          type: string
        size:
          type: integer
          nullable: true
          description: The population's size as given, or null.
        profile_depth:
          type: string
          enum:
            - quick
            - partial
            - full
          description: The depth every person is built to.
        credits_quoted:
          type: number
          description: The credits reserved when the search started.
        status:
          type: string
          enum:
            - running
            - completed
            - completed_with_errors
            - failed
            - cancelled
          description: >-
            Where the population search is. The search's own status is running
            while this is running, completed when this is completed, and
            completed_with_errors when this is completed_with_errors, failed or
            cancelled.
    QueryIntent:
      type: object
      required:
        - organizations
        - schools
        - person_named
      description: What the search understood from a plain-English query.
      properties:
        organizations:
          type: array
          items:
            type: string
          description: The companies the query names.
        schools:
          type: array
          items:
            type: string
          description: The schools the query names.
        person_named:
          type: boolean
          description: Whether the query names a specific person.
    OperationBilling:
      type: object
      description: >-
        Credits held and spent for the billing operation behind this request.
        Poll until status is settled to read the final consumedCredits.
      required:
        - id
        - pricingVersion
        - reservedCredits
        - consumedCredits
        - releasedCredits
        - heldCredits
        - status
      properties:
        id:
          type: string
          format: uuid
          description: The billing operation behind this request.
        pricingVersion:
          type: string
          description: The pricing catalog version this operation settles under.
        reservedCredits:
          type: number
          minimum: 0
          description: The credits held for this operation.
        consumedCredits:
          type: number
          minimum: 0
          description: The credits charged so far.
        releasedCredits:
          type: number
          minimum: 0
          description: The credits returned to your balance.
        heldCredits:
          type: number
          minimum: 0
          description: >-
            The credits still held: reservedCredits less consumedCredits and
            releasedCredits.
        status:
          type: string
          enum:
            - open
            - settled
          description: >-
            open while the operation can still charge, and settled once its
            charge is final.
    ErrorResponse:
      type: object
      required:
        - status
        - error
      properties:
        status:
          type: string
          enum:
            - failed
            - failure
          description: >-
            `failed` for most errors. Authentication errors (`missing_api_key`,
            `invalid_api_key`, `missing_api_key_scope`) use `failure`. Branch on
            the HTTP status and `error.code`, not on this value.
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            requiredCredits:
              type: number
              minimum: 0
              description: >-
                Credits required when the error is
                developer_api_credits_insufficient.
            remainingCredits:
              type: number
              minimum: 0
              description: >-
                Available credits when the error is
                developer_api_credits_insufficient.
    ExperienceIntent:
      type: object
      additionalProperties: false
      properties:
        title:
          type: string
        titleAnyOf:
          type: array
          items:
            type: string
        organization:
          type: string
        year:
          type: integer
        startYear:
          type: integer
        startYearLte:
          type: integer
        endYear:
          type: integer
        temporalScope:
          type: string
          enum:
            - current
            - historical
            - both
    SemanticClause:
      type: object
      additionalProperties: false
      properties:
        text:
          type: string
          minLength: 1
        anyOf:
          type: array
          minItems: 1
          items:
            type: string
            minLength: 1
      anyOf:
        - required:
            - text
        - required:
            - anyOf
    SchoolIntent:
      type: object
      additionalProperties: false
      properties:
        school:
          type: string
        schoolAnyOf:
          type: array
          items:
            type: string
        graduationYear:
          type: integer
        startYear:
          type: integer
        endYear:
          type: integer
        temporalScope:
          type: string
          enum:
            - current
            - historical
            - both
        relation:
          type: string
    GeoIntent:
      type: object
      additionalProperties: false
      properties:
        place:
          type: string
        isHistorical:
          type: boolean
        distance:
          type: string
    DemographicsIntent:
      type: object
      additionalProperties: false
      properties:
        ageRange:
          $ref: '#/components/schemas/IntegerRange'
        birthYearRange:
          $ref: '#/components/schemas/IntegerRange'
        gender:
          type: string
    PersonalizationIntent:
      type: object
      additionalProperties: false
      properties:
        network:
          type: object
          additionalProperties: false
          required:
            - scope
          properties:
            scope:
              type: string
              enum:
                - first_degree
        nearMe:
          type: object
          additionalProperties: false
          required:
            - distance
          properties:
            distance:
              type: string
    FaceSource:
      type: object
      required:
        - image_url
      additionalProperties: false
      description: >-
        A face from a photo stored by `POST /v3/faces/detect`. On `POST
        /v3/search` it searches for the people the face could be.
      properties:
        image_url:
          type: string
          minLength: 1
          description: The photo reference returned by `POST /v3/faces/detect`.
        bbox:
          allOf:
            - $ref: '#/components/schemas/FaceBox'
          description: >-
            The picked face's box from `POST /v3/faces/detect`. Required when
            the photo has more than one face.
    SearchProfile:
      type: object
      description: >-
        The profile that Search embeds in a readable result: identity fields,
        contact fields, employment domains, and generated sections. Optional
        fields appear when they have values. Read GET /v3/enrich/{profile_id}
        for the full public profile with the image gallery and source links.
      required:
        - id
        - generationLevel
        - avatarUrl
        - verified
        - sections
      additionalProperties: true
      properties:
        id:
          type: string
        generationLevel:
          oneOf:
            - type: integer
              minimum: 1
              maximum: 3
            - type: 'null'
        displayName:
          type: string
        personName:
          type: string
        aliases:
          type: array
          items:
            type: string
        avatarUrl:
          oneOf:
            - type: string
              format: uri
            - type: 'null'
        profileUrl:
          type: string
          format: uri
        slug:
          type: string
        category:
          type: object
          required:
            - id
            - label
          properties:
            id:
              type: string
            label:
              type: string
        verified:
          type: boolean
        location:
          type: object
          properties:
            city:
              type: string
            region:
              type: string
            country:
              type: string
        headline:
          type: object
          properties:
            jobTitle:
              type: string
            companyName:
              type: string
            schoolName:
              type: string
        sections:
          type: object
          description: >-
            Generated profile sections, such as bio, jobs, and education. Each
            section carries its content fields. Read GET /v3/enrich/{profile_id}
            for the image gallery and source links.
          required:
            - socials
          properties:
            bio:
              $ref: '#/components/schemas/SearchProfileBioSection'
            basic:
              $ref: '#/components/schemas/SearchProfileSection'
            personalLife:
              $ref: '#/components/schemas/SearchProfileSection'
            socials:
              $ref: '#/components/schemas/SearchProfileItemsSection'
            jobs:
              $ref: '#/components/schemas/SearchProfileSection'
            education:
              $ref: '#/components/schemas/SearchProfileSection'
            passions:
              $ref: '#/components/schemas/SearchProfileSection'
            tastes:
              $ref: '#/components/schemas/SearchProfileSection'
            worldview:
              $ref: '#/components/schemas/SearchProfileSection'
            accomplishments:
              $ref: '#/components/schemas/SearchProfileSection'
            controversies:
              $ref: '#/components/schemas/SearchProfileSection'
            bestQualities:
              $ref: '#/components/schemas/SearchProfileSection'
            netWorth:
              $ref: '#/components/schemas/SearchProfileSection'
            eventsTimeline:
              $ref: '#/components/schemas/SearchProfileSection'
            portfolio:
              $ref: '#/components/schemas/SearchProfileSection'
            families:
              $ref: '#/components/schemas/SearchProfileSection'
            researchPapers:
              $ref: '#/components/schemas/SearchProfileItemsSection'
            githubRepos:
              $ref: '#/components/schemas/SearchProfileItemsSection'
            mediaCredits:
              $ref: '#/components/schemas/SearchProfileItemsSection'
            musicCredits:
              $ref: '#/components/schemas/SearchProfileItemsSection'
            books:
              $ref: '#/components/schemas/SearchProfileItemsSection'
        emails:
          type: array
          items:
            type: string
            format: email
        emailDetails:
          type: array
          description: >-
            One summary for each published email address: its type, the employer
            behind the domain, and whether mail reaches it, when available.
          items:
            type: object
            required:
              - email
              - type
              - typeBasis
              - verification
            additionalProperties: true
            properties:
              email:
                type: string
                format: email
              type:
                type: string
                enum:
                  - personal
                  - work
                  - unknown
                description: '`unknown` means the evidence on hand leaves the type open.'
              typeBasis:
                type: string
                enum:
                  - consumer_domain
                  - provider_free_domain
                  - employment_domain
                  - employment_name
                  - provider_employer_claim
                  - role_address
                  - academic_domain
                  - conflicting_evidence
                  - insufficient_evidence
                description: The evidence behind `type`.
              employer:
                type: object
                required:
                  - association
                additionalProperties: true
                description: The company that owns the domain, when one is known.
                properties:
                  companyName:
                    type: string
                  companyDomain:
                    type: string
                  association:
                    type: string
                    enum:
                      - current
                      - former
                      - unknown
                    description: >-
                      Whether the person still works at the company. `unknown`
                      means a company was reported with no tenure.
              verification:
                type: object
                required:
                  - status
                additionalProperties: true
                properties:
                  status:
                    type: string
                    enum:
                      - deliverable
                      - undeliverable
                      - risky
                      - unverified
                    description: >-
                      `risky` means the domain accepts every address or the
                      check was weak. `unverified` means the address was
                      reported with no check.
                  verifiedAt:
                    type: string
                    format: date-time
                    description: When the check ran.
                  catchAllDomain:
                    type: boolean
                    description: Whether the domain accepts every address.
        employmentDomains:
          type: array
          description: >-
            Employer domains from the profile's employment history, with whether
            each role is current, when available.
          items:
            type: object
            required:
              - isCurrent
            additionalProperties: true
            properties:
              companyName:
                type: string
              domain:
                type: string
              isCurrent:
                type: boolean
                description: Whether this role is current.
        phoneNumbers:
          type: array
          items:
            type: string
        phoneDetails:
          type: array
          description: What providers reported about each phone number, when available.
          items:
            type: object
            required:
              - phoneNumber
              - type
            additionalProperties: true
            properties:
              phoneNumber:
                type: string
              type:
                type: string
                enum:
                  - mobile
                  - landline
                  - voip
                  - unknown
              isConnected:
                type: boolean
              firstReported:
                type: number
              lastReported:
                type: number
        addresses:
          type: array
          items:
            type: object
            additionalProperties: true
    MatchSummary:
      type: object
      description: >-
        The search inputs this result matches, partly matches, conflicts with,
        or has no data for.
      properties:
        matches:
          type: array
          items:
            $ref: '#/components/schemas/MatchSummaryItem'
        partial_matches:
          type: array
          items:
            $ref: '#/components/schemas/MatchSummaryItem'
        apparent_conflicts:
          type: array
          items:
            $ref: '#/components/schemas/MatchSummaryItem'
        unknown:
          type: array
          items:
            $ref: '#/components/schemas/MatchSummaryItem'
    IntegerRange:
      type: object
      additionalProperties: false
      required:
        - min
        - max
      properties:
        min:
          type: integer
        max:
          type: integer
    FaceBox:
      type: array
      minItems: 4
      maxItems: 4
      items:
        type: number
        minimum: 0
      description: A face box `[x0, y0, x1, y1]` in the pixels of the upright photo.
      example:
        - 212
        - 140
        - 388
        - 356
    SearchProfileBioSection:
      oneOf:
        - type: 'null'
        - type: object
          description: The generated bio text.
          required:
            - bio
          additionalProperties: true
          properties:
            bio:
              type: string
    SearchProfileSection:
      oneOf:
        - type: 'null'
        - $ref: '#/components/schemas/SearchProfileItemsSection'
    SearchProfileItemsSection:
      type: object
      description: >-
        A generated section with its items. Each item carries its content
        fields.
      required:
        - items
      additionalProperties: true
      properties:
        items:
          type: array
          items:
            type: object
            additionalProperties: true
    MatchSummaryItem:
      type: object
      required:
        - field
        - query
      properties:
        field:
          type: string
          description: >-
            The kind of input, such as `name`, `email`, `employment`,
            `location`, or `face`.
        query:
          type: string
          description: The input as the search read it.
        candidate:
          type: string
          description: The value on this result that Orbit compared with the input.
        outcome:
          type: string
          enum:
            - exact
            - equivalent
            - compatible
            - semantic
          description: >-
            How closely the value matches. Present on `matches` and
            `partial_matches`.
        evidence_level:
          type: string
          enum:
            - weak
            - moderate
            - strong
          description: How much this match adds to `confidence`.
  responses:
    BadRequest:
      description: The request is not valid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: The API key is missing (`missing_api_key`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InsufficientCredits:
      description: >-
        The available API credit balance cannot cover the requested work. Top up
        before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: >-
        The API key is not valid (`invalid_api_key`) or lacks the required scope
        (`missing_api_key_scope`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Conflict:
      description: The request ID was already used with different inputs.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: The API key exceeded a rate limit.
      headers:
        Retry-After:
          description: Seconds to wait before another request.
          schema:
            type: integer
            minimum: 0
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Orbit API key
      description: Use an Orbit API key from the Developer Dashboard.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.