Skip to Content
Drip Docs
API referenceItems

Passages in one item

Snippets of about 50 words inside one article, podcast or video. Counts as two requests. Id is content:<id> or sec:<id>.

GET
/v1/items/{id}/passages

Snippets of about 50 words inside one article, podcast or video. Counts as two requests. Id is content: or sec:.

Authorization

bearerAuth
headerAuthorizationBearer <drip_live>

An API key from Drip settings. Send it as Authorization: Bearer drip_live_… . The key is shown once.

Path Parameters

id*string

content: or sec:.

Query Parameters

query*string

What to look for.

limit?integer

Snippets to return. Default 3, max 5.

Response Body

status ok, no_results, no_material_updates, partial or not_covered. Branch on status.

application/json
  1. response
item*
note*string
passages*array<>
passages_in_item?number
status*string
Example Request
curl -X GET 'https://api.joindrip.ai/v1/items/string/passages?query=string'
Example Response
{  "item": {    "item_id": "string",    "outlet": "string",    "published": "string",    "section": {      "content_section_id": 0,      "headline": "string"    },    "source_type": "string",    "title": "string",    "url": "string"  },  "note": "string",  "passages": [    {      "deep_link": "string",      "score": 0,      "section": {        "content_section_id": 0,        "headline": "string"      },      "speakers": [        {          "name": "string",          "person_id": 0        }      ],      "start_seconds": 0,      "text": "string"    }  ],  "passages_in_item": 0,  "status": "string"}