> For the complete documentation index, see [llms.txt](https://docs.sprinto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinto.com/api-reference/custom-integration-push-apis/pushing-entities-data.md).

# Pushing Entities Data

Entity data ingestion and processing

## Push paginated entities into an active session

> Sends a page of entities (e.g., 100 items). Valid batches are \*\*staged\*\* until the session is closed as \`apply\`.

```json
{"openapi":"3.0.0","info":{"title":"Sprinto Custom Integration Entities Sync API","version":"1.0.0"},"tags":[{"name":"Pushing Entities Data","description":"Entity data ingestion and processing"}],"servers":[{"url":"https://api.sprinto.com/api/external/push","description":"Sprinto US region API server"},{"url":"https://in.sprinto.com/api/external/push","description":"Sprinto IN region API server"},{"url":"https://eu.sprinto.com/api/external/push","description":"Sprinto EU region API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"parameters":{"version":{"name":"version","in":"path","required":true,"schema":{"type":"string","enum":["v1"],"default":"v1"},"description":"API version (e.g., v1)"},"integration_id":{"name":"integration_id","in":"path","required":true,"schema":{"type":"string"},"description":"Sprinto-issued integration identifier."},"session_id":{"name":"session_id","in":"path","required":true,"schema":{"type":"string"},"description":"Session identifier returned by the session creation endpoint."}},"schemas":{"EntitiesEnvelope":{"type":"object","required":["entities"],"properties":{"entities":{"type":"object","description":"A map of entity type to an array of entity objects.","additionalProperties":{"type":"array","items":{"type":"object","additionalProperties":true}}}}},"BatchIngestResponse":{"type":"object","properties":{"session_id":{"type":"string"},"accepted_count_total":{"type":"integer"},"accepted_count_by_entity":{"type":"object","additionalProperties":{"type":"integer"}},"rejected_count_total":{"type":"integer"},"validation_errors":{"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string"},"index":{"type":"integer"},"field":{"type":"string"},"issue":{"type":"string"}}}},"echoes":{"type":"object","properties":{"page_hint":{"type":"integer","nullable":true}}}},"required":["session_id","accepted_count_total"]},"ErrorResponse":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}}},"paths":{"/{version}/integrations/{integration_id}/sessions/{session_id}/entities":{"post":{"tags":["Pushing Entities Data"],"summary":"Push paginated entities into an active session","description":"Sends a page of entities (e.g., 100 items). Valid batches are **staged** until the session is closed as `apply`.","parameters":[{"$ref":"#/components/parameters/version"},{"$ref":"#/components/parameters/integration_id"},{"$ref":"#/components/parameters/session_id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesEnvelope"}}}},"responses":{"202":{"description":"Batch accepted and staged","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchIngestResponse"}}}},"400":{"description":"Validation error; batch rejected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Session not found"},"409":{"description":"Session not active"},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until limit resets."}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sprinto.com/api-reference/custom-integration-push-apis/pushing-entities-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
