authed

Read a doc request

One doc request with its draft: the drafted doc and its newest revision in full. draft is null until a draft exists.

get/api/v1/doc-requests/{request_id}

Request

  • Base URL
    https://api.teaflask.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.teaflask.com/api/v1/doc-requests/{request_id}
  • Auth
    none declared

Path parameters

request_idstring uuid required

The doc request's id, as list_doc_requests returns it.

Response

Successful Response

idstring uuid required

The doc request's id.

organization_idstring uuid required

The organization that owns the request.

promptstring required

What the doc was requested to cover.

status'queued' | 'working' | 'ready_for_review' | 'approved' | 'dismissed' | 'failed' | 'unfunded' required
errorstring nullable required

Why the request failed, in a sentence; null unless it failed.

requested_by_user_idstring uuid required

The member who asked.

requested_bystring nullable required

That member's name, or their email when they have no name.

doc_idstring uuid nullable required

The doc the draft was written into; null until a draft exists.

created_atstring date-time required

When the request was made.

updated_atstring date-time required

When the request last changed.

Changes

No recorded changes to this operation across all 1 revision of this API.