Skip to main content
GET
/
docs
/
drafts
List docs drafts
curl --request GET \
  --url https://productlane.com/api/v2/docs/drafts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "article_id": "<string>",
      "group_id": "<string>",
      "portal_instance_id": "<string>",
      "content": "<string>",
      "title": "<string>",
      "created_by_user_id": "<string>",
      "closed_at": "<string>"
    }
  ],
  "page": {
    "cursor": "<string>",
    "has_more": true,
    "limit": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://productlane.mintlify.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
Required range: 1 <= x <= 200
cursor
string
kind
enum<string>
Available options:
edit,
create,
delete
status
enum<string>
Available options:
draft,
open,
accepted,
rejected,
superseded
article_id
string
group_id
string
portal_instance_id
string

Filter to drafts that target articles or groups in this portal. CREATE drafts inherit the portal from their proposed group; EDIT/DELETE inherit it from the article.

created_after
string<date-time>
created_before
string<date-time>
updated_after
string<date-time>
updated_before
string<date-time>

Response

Successful response

data
object[]
required
page
object
required