Skip to main content
GET
/
paragraphs
/
{ref}
/
context
Get a paragraph with surrounding context
curl --request GET \
  --url https://api.urantia.dev/paragraphs/{ref}/context
{
  "data": {
    "target": {
      "id": "<string>",
      "standardReferenceId": "<string>",
      "sortId": "<string>",
      "paperId": "<string>",
      "sectionId": "<string>",
      "partId": "<string>",
      "paperTitle": "<string>",
      "sectionTitle": "<string>",
      "paragraphId": "<string>",
      "text": "<string>",
      "htmlText": "<string>",
      "labels": [
        "<string>"
      ],
      "audio": {},
      "entities": [
        {
          "id": "<string>",
          "name": "<string>",
          "type": "being"
        }
      ]
    },
    "before": [
      {
        "id": "<string>",
        "standardReferenceId": "<string>",
        "sortId": "<string>",
        "paperId": "<string>",
        "sectionId": "<string>",
        "partId": "<string>",
        "paperTitle": "<string>",
        "sectionTitle": "<string>",
        "paragraphId": "<string>",
        "text": "<string>",
        "htmlText": "<string>",
        "labels": [
          "<string>"
        ],
        "audio": {},
        "entities": [
          {
            "id": "<string>",
            "name": "<string>",
            "type": "being"
          }
        ]
      }
    ],
    "after": [
      {
        "id": "<string>",
        "standardReferenceId": "<string>",
        "sortId": "<string>",
        "paperId": "<string>",
        "sectionId": "<string>",
        "partId": "<string>",
        "paperTitle": "<string>",
        "sectionTitle": "<string>",
        "paragraphId": "<string>",
        "text": "<string>",
        "htmlText": "<string>",
        "labels": [
          "<string>"
        ],
        "audio": {},
        "entities": [
          {
            "id": "<string>",
            "name": "<string>",
            "type": "being"
          }
        ]
      }
    ]
  }
}

Path Parameters

ref
string
required

Query Parameters

window
integer
default:2
Required range: 1 <= x <= 10
include
string
format
enum<string>
default:default
Available options:
default,
rag

Response

Paragraph with context

data
object
required