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

# Fetch a cached export (SignalR result generation)

> Pulls back an export **synchronously**, in the response body. This works only for exports produced through a **SignalR result-generation request** — the webhook-delivered `GET /v1/nesting/export` path does not populate this cache, so asking for something requested that way will always report not-ready.

When the requested export is available, `Ready` is `true` and `PayloadJson` carries it. Otherwise `Ready` is `false` and `Error` explains why. Cached exports have a limited lifetime (see `ExpiresUtc`), so fetch promptly.



## OpenAPI

````yaml /openapi.json get /v1/nesting/export/cached
openapi: 3.0.0
info:
  title: NestAPI
  version: '1.0'
servers:
  - url: https://api.nestapi.com
    description: Production
security: []
tags:
  - name: account
    description: API key and account management
  - name: admin
  - name: ApiAdmin
  - name: auth
  - name: billing
  - name: fairness
    description: >-
      Per-customer nesting-minutes fairness config, weights and usage (requires
      an Admin API key)
  - name: importer
  - name: nesting
    description: Submit nesting jobs, retrieve results and exports
  - name: plan
  - name: proxy
  - name: public
    description: Health check and public utility endpoints
  - name: subscriptionstatus
paths:
  /v1/nesting/export/cached:
    parameters:
      - $ref: '#/components/parameters/Accept'
    get:
      tags:
        - nesting
      summary: Fetch a cached export (SignalR result generation)
      description: >-
        Pulls back an export **synchronously**, in the response body. This works
        only for exports produced through a **SignalR result-generation
        request** — the webhook-delivered `GET /v1/nesting/export` path does not
        populate this cache, so asking for something requested that way will
        always report not-ready.


        When the requested export is available, `Ready` is `true` and
        `PayloadJson` carries it. Otherwise `Ready` is `false` and `Error`
        explains why. Cached exports have a limited lifetime (see `ExpiresUtc`),
        so fetch promptly.
      operationId: FetchCachedNestingExport
      parameters:
        - name: RequestId
          in: query
          description: >-
            The job whose cached export you want. This is `NestIdentifier` in
            the webhook payload.
          required: true
          x-nullable: false
          schema:
            type: string
        - name: ResultId
          in: query
          description: >-
            The specific result whose cached export you want (`ResultIdentity`
            in the webhook payload).
          required: true
          x-nullable: false
          schema:
            type: string
        - name: ResponseType
          in: query
          description: >-
            Which cached export to fetch. Must match the `ResponseType`
            generated over SignalR.
          required: true
          x-nullable: false
          schema:
            type: string
            enum:
              - Result
              - Render
              - DXF
              - ReportSource
              - RemnantExport
              - Runtime
              - PartsExport
      responses:
        '200':
          description: >-
            The cached export if ready (`Ready = true`), otherwise `Ready =
            false` with a reason.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CachedNestingExportResponse'
        '401':
          description: API key is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CachedNestingExportResponse'
      deprecated: false
      security:
        - Bearer: []
components:
  parameters:
    Accept:
      name: Accept
      in: header
      description: Accept Header
      required: true
      schema:
        type: string
        enum:
          - application/json
  schemas:
    CachedNestingExportResponse:
      title: CachedNestingExportResponse
      properties:
        Ready:
          description: >-
            `true` if the requested export is available in `PayloadJson`;
            `false` if it has not been generated or has expired.
          type: boolean
          nullable: false
        Error:
          description: Explanation when `Ready` is `false`; otherwise null.
          type: string
        RequestId:
          description: The job the export belongs to.
          type: string
          nullable: false
        ResultId:
          description: The result the export belongs to.
          type: string
          nullable: false
        ResponseType:
          description: The export type this response carries.
          type: string
        PayloadJson:
          description: The export itself, as JSON, when `Ready` is `true`; otherwise null.
          type: string
        CreatedUtc:
          description: When the cached export was generated (UTC).
          type: string
          format: date-time
        ExpiresUtc:
          description: When the cached export expires and is no longer retrievable (UTC).
          type: string
          format: date-time
      description: CachedNestingExportResponse
      type: object
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header

````