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

# Get Workflow

> Returns a workflow and its definition.



## OpenAPI

````yaml /openapi.json get /v1/workflows/{workflow_id}
openapi: 3.1.0
info:
  title: Sixtyfour API
  description: >-
    Intelligence API for people and companies: research agents that investigate,
    resolve identities, map relationships and surface risk signals.
  contact:
    name: Sixtyfour
    url: https://sixtyfour.ai/
    email: support@sixtyfour.ai
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api.sixtyfour.ai
    description: Production
security:
  - ApiKeyAuth: []
  - BearerAuth: []
tags:
  - name: Enrichment
    description: Find and enrich emails, phones, and LinkedIn for people and companies.
  - name: Search
    description: Run deep and filter searches over Sixtyfour's data.
  - name: Workflow
    description: Create, run, and manage enrichment workflows.
  - name: Workflow Schedules
    description: Create and manage recurring schedules for workflows.
  - name: Account
    description: Manage and inspect your account and credit balance.
  - name: Feedback
    description: >-
      Tell us a result was wrong, missing or outdated, and report problems with
      the API, the docs or a tool.
  - name: Intelligence
    description: Verify identity attributes such as age using high-tier OSINT research.
  - name: Atlas
    description: >-
      Start, continue and read Atlas investigations: attribution graph,
      workspace files, reports and exports.
paths:
  /v1/workflows/{workflow_id}:
    get:
      tags:
        - Workflows
      summary: Get Workflow
      description: Returns a workflow and its definition.
      operationId: get_workflow_v1_workflows__workflow_id__get
      parameters:
        - name: workflow_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Workflow Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workflow'
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Unauthorized
        '402':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Payment Required
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Conflict
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobValidationError'
          description: Unprocessable Entity
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Too Many Requests
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Service Unavailable
components:
  schemas:
    Workflow:
      properties:
        workflow_id:
          type: string
          title: Workflow Id
          description: Workflow identifier.
        name:
          type: string
          title: Name
          description: Name of the workflow.
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Note about what the workflow does.
        revision:
          type: integer
          title: Revision
          description: Counter that increases each time the workflow is edited.
        locked:
          type: boolean
          title: Locked
          description: If true, the workflow cannot be edited.
        block_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Block Count
          description: Number of blocks in the workflow.
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Creation time in UTC, in ISO 8601 format.
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: Last update time in UTC, in ISO 8601 format.
        last_run_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Run At
          description: >-
            Start time of the most recent run in UTC. Null when it has never
            run.
        definition:
          anyOf:
            - $ref: '#/components/schemas/StoredGraph'
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Definition
          description: Blocks the workflow runs and the edges that order them.
      type: object
      required:
        - workflow_id
        - name
        - revision
        - locked
        - created_at
        - updated_at
      title: Workflow
      examples:
        - block_count: 2
          created_at: '2025-12-30T18:04:11.482913Z'
          definition:
            blocks:
              - block_id: source
                block_name: webhook
                specs: {}
              - block_id: find_email
                block_name: find_email
                specs:
                  mode: PROFESSIONAL
            edges:
              - from_block_id: source
                to_block_id: find_email
          description: Finds a work email for each person sent to the workflow.
          last_run_at: '2026-01-05T17:00:02.551870Z'
          locked: false
          name: Find work emails
          revision: 3
          updated_at: '2026-01-04T09:12:40.118204Z'
          workflow_id: 2f9d6c1e-8a4b-4f3d-b7e5-1c0a9d8e7f65
    PublicJobError:
      properties:
        detail:
          type: string
          title: Detail
          description: Human-readable explanation of why the request failed.
        error_code:
          $ref: '#/components/schemas/V1ErrorCode'
          description: >-
            Stable error code for handling the failure in code. Do not branch on
            the wording of `detail`.
        request_id:
          type: string
          title: Request Id
          description: >-
            Request identifier, equal to the X-Request-Id response header. Quote
            this value when contacting support.
        retryable:
          type: boolean
          title: Retryable
          description: >-
            If true, retrying the request can succeed without changing its
            inputs; respect Retry-After when present. If false, correct the
            request or resolve the reported condition before retrying.
        param:
          anyOf:
            - type: string
            - type: 'null'
          title: Param
          description: >-
            Dot-separated path to the parameter that caused the error, such as
            `body.lead` or `header.Idempotency-Key`. Null when the error is not
            tied to a parameter.
      type: object
      required:
        - detail
        - error_code
        - request_id
        - retryable
      title: PublicJobError
    PublicJobValidationError:
      properties:
        detail:
          type: string
          title: Detail
          description: Human-readable explanation of why the request failed.
        error_code:
          $ref: '#/components/schemas/V1ErrorCode'
          description: >-
            Stable error code for handling the failure in code. Do not branch on
            the wording of `detail`.
        request_id:
          type: string
          title: Request Id
          description: >-
            Request identifier, equal to the X-Request-Id response header. Quote
            this value when contacting support.
        retryable:
          type: boolean
          title: Retryable
          description: >-
            If true, retrying the request can succeed without changing its
            inputs; respect Retry-After when present. If false, correct the
            request or resolve the reported condition before retrying.
        param:
          anyOf:
            - type: string
            - type: 'null'
          title: Param
          description: >-
            Dot-separated path to the parameter that caused the error, such as
            `body.lead` or `header.Idempotency-Key`. Null when the error is not
            tied to a parameter.
        errors:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Errors
          description: >-
            Individual validation failures, each with a parameter location
            (`loc`), message (`msg`), and error type (`type`).
      type: object
      required:
        - detail
        - error_code
        - request_id
        - retryable
        - errors
      title: PublicJobValidationError
    StoredGraph:
      properties:
        blocks:
          items:
            $ref: '#/components/schemas/StoredBlock'
          type: array
          title: Blocks
          description: All blocks in the workflow.
        edges:
          items:
            $ref: '#/components/schemas/WorkflowEdge'
          type: array
          title: Edges
          description: Edges defining the execution order between blocks.
      type: object
      required:
        - blocks
        - edges
      title: StoredGraph
    V1ErrorCode:
      type: string
      enum:
        - invalid_cursor
        - request_in_progress
        - limit_exceeded
        - entity_type_mismatch
        - unsupported_file
        - invalid_upload
        - file_too_large
        - items_not_available
        - list_not_ready
        - job_not_finished
        - not_found
        - validation_error
        - rate_limited
        - internal_error
        - unavailable
        - unauthenticated
        - forbidden
        - insufficient_credits
        - idempotency_key_reused
        - export_source_changed
        - job_execution_changed
        - job_failed
        - item_failed
        - aborted
        - workflow_changed
        - workflow_locked
        - workflow_not_runnable
        - timed_out
      title: V1ErrorCode
    StoredBlock:
      properties:
        block_name:
          type: string
          maxLength: 100000
          title: Block Name
          description: Registered block type name (e.g. 'lead_enrichment', 'find_email').
        specs:
          additionalProperties: true
          type: object
          title: Specs
          description: Block-specific configuration; shape depends on `block_name`.
        block_id:
          anyOf:
            - type: string
              maxLength: 200
            - type: 'null'
          title: Block Id
          description: >-
            Block ID. A missing or non-UUID value is replaced with a new UUID on
            save.
      additionalProperties: true
      type: object
      required:
        - block_name
        - specs
      title: StoredBlock
    WorkflowEdge:
      properties:
        from_block_id:
          type: string
          maxLength: 200
          title: From Block Id
          description: Source block ID for this edge.
        to_block_id:
          type: string
          maxLength: 200
          title: To Block Id
          description: Destination block ID for this edge.
      type: object
      required:
        - from_block_id
        - to_block_id
      title: WorkflowEdge
      description: A directed edge connecting two blocks in a workflow graph.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Sixtyfour API key.
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        An OAuth access token from `POST /oauth/token`, sent as `Authorization:
        Bearer <token>`. An API key sent as a bearer token is refused with 401.
        When both headers are sent, the bearer token is used.

````

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