sources

Get a source

Returns a single source. The source must belong to the active project.

get/api/v1/sources/{source}

Request

  • Base URL: https://pineprompt.com
  • URL: https://pineprompt.com/api/v1/sources/{source}
  • Auth: HTTP bearer

Path parameters

sourceinteger required
Example:4096

The numeric ID of the source.

Query parameters

includestring
Example:project

A comma-separated list of related resources to include in the response. Allowed values: project, project.organization.

Headers

Pineprompt-Project-Idinteger required

The active project's numeric ID.

Response

OK

idinteger

The unique ID of the source.

project_idinteger

The ID of the project the source belongs to.

domainstring

The domain of the cited URL.

typestring nullable

The source type, as classified by Pineprompt.

playbook'pitch' | 'buy' | 'participate' | 'claim' | 'hands_off' nullable

The playbook category the source falls under.

analyzed_atstring date-time nullable

When the source was most recently analyzed, or null if it has not yet been analyzed.

created_atstring date-time

When the source was created.

updated_atstring date-time

When the source was last updated.

Example response

{
  "id": 4096,
  "project_id": 42,
  "domain": "example.com",
  "type": "blog",
  "playbook": "pitch",
  "analyzed_at": "2026-05-15T09:11:42+00:00",
  "project": {
    "id": 42,
    "organization_id": 7,
    "name": "Acme Marketing",
    "brand_id": 555,
    "organization": {
      "id": 7,
      "name": "Acme Inc.",
      "created_at": "2026-05-15T09:11:42+00:00",
      "updated_at": "2026-05-15T09:11:42+00:00"
    },
    "created_at": "2026-05-15T09:11:42+00:00",
    "updated_at": "2026-05-15T09:11:42+00:00"
  },
  "created_at": "2026-05-15T09:11:42+00:00",
  "updated_at": "2026-05-15T09:11:42+00:00"
}

Changes

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