Skip to content
Navigation

Get a file record with download URLs

Returns the file record plus a urls object of minted download links, each valid ~1 hour: urls.file (the stored original), and once processing has produced them, urls.processedMd (extracted markdown) and urls.processedJson (structured/grounded JSON). The record also carries status (waiting | stored | processing | processed | failed), processingKind, processingError, size, artifacts, and createdAt/storedAt/processedAt timestamps — poll this endpoint after uploading to watch status. Returns 404 if the file does not belong to :spaceId (cross-space access is hidden). Authorization: requires space:read on :spaceId (missing permission → 404; org admins bypass).

GET
https://api.cloudraker.com/spaces/{spaceId}/files/{fileId}
Try it
Path parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required
  • fileId
    string
    required

Returns

200

The file record, with minted ~1h download URLs.

JSON
  • id
    string
    required
  • fileName
    string
    required
  • parentType
    string
    required
  • parentId
    string
    required
  • mimeType
    string
    required
  • size
    number | null
    required

    Size in bytes, null until stored.

  • status
    waiting
    or
    stored
    or
    processing
    or
    processed
    or
    failed
    required

    Terminal values are stored (uploaded, no processing requested), processed and failed; waiting and processing mean keep polling.

  • processingKind
    required

    Any of the following:

    • string
      doc-simple
      or
      doc-ocr
      or
      doc-auto
      or
      audio-transcribe
      or
      audio-transcribe-and-diarize
    • null
  • createdAt
    string
    required
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • processingError
    optional
    string
  • processingProgress
    optional
    object

    Present while status is processing. queued means that the organization is at its concurrent parse limit and no page of this file is in parse.

    • state
      queued
      or
      processing
      required
    • pagesTotal
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • pagesDone
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
  • parentFileId
    optional
    string

    Source file this one was generated from (e.g. a redacted or signed copy).

  • artifacts
    optional
    array of
    string

    Parsing byproducts present, e.g. structured, transcript.

  • indexVectors
    optional
    boolean
  • indexOntology
    optional
    boolean
  • storedAt
    optional
    string
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • processedAt
    optional
    string
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • urls
    optional
    object

    Minted download links, each valid ~1 hour. Present on single-file reads only — list responses mint none.

    • file
      optional
      string

      The stored original.

    • processedJson
      optional
      string

      Structured/grounded JSON.

    • processedMd
      optional
      string

      Extracted markdown.

    • previewPdf
      optional
      string

Type to search…

↑↓ navigate↵ selectEsc close