PulseAI-OpenAPI
  1. Dataset
PulseAI-OpenAPI
  • App
    • README
    • Send Chat Message
      POST
    • File Upload
      POST
    • Stop Generate
      POST
    • Message Feedback
      POST
    • Next Suggested Questions
      GET
    • Get Conversation History Messages
      GET
    • Get Conversations
      GET
    • Delete Conversation
      DELETE
    • Conversation Rename
      POST
    • Speech to Text
      POST
    • Text to Audio
      POST
    • Text to Audio V2
      POST
    • Get Application Information
      GET
    • Get Application Parameters
      GET
    • Get Application Meta Information
      GET
    • Create Chat
      POST
  • Dataset
    • README
    • Create a Document from Text
      POST
    • Create a Document from a File
      POST
    • Create an Empty Knowledge Base
      POST
    • Get Knowledge Base List
      GET
    • Delete a Knowledge Base
      DELETE
    • Update a Document with Text
      POST
    • Update a Document with a File
      POST
    • Get Document Embedding Status (Progress)
      GET
    • Delete a Document
      DELETE
    • Get the Document List of a Knowledge Base
      GET
    • Add Chunks to a Document
      POST
    • Get Chunks from a Document
      GET
    • Update a Chunk in a Document
      POST
    • Delete a Chunk in a Document
      DELETE
    • Retrieve Chunks from a Knowledge Base
      POST
  • Tenant
    • README
    • Get a List of Tenant Space Charactar
    • Figure txt2img
    • Get a List of Tenant Space Plot
    • Get a List of Tenant Space Audio
  • OpenAPI
    GET
  1. Dataset

Get Chunks from a Document

GET
https://api-platform.digitpulse.ai/v1/datasets/{dataset_id}/documents/{document_id}/segments
Last modified:2025-01-13 09:25:51

Request

Path Params

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-platform.digitpulse.ai/v1/datasets//documents//segments?keyword&status' \
--header 'Authorization: ' \
--header 'X-Timestamp: 1739933362' \
--header 'X-Signature: 1739933362'

Responses

🟢200Success
application/json
Body

Example
{
    "data": [
        {
            "id": "",
            "position": 1,
            "document_id": "",
            "content": "1",
            "answer": "1",
            "word_count": 25,
            "tokens": 0,
            "keywords": [
                "a"
            ],
            "index_node_id": "",
            "index_node_hash": "",
            "hit_count": 0,
            "enabled": true,
            "disabled_at": null,
            "disabled_by": null,
            "status": "completed",
            "created_by": "",
            "created_at": 1695312007,
            "indexing_at": 1695312007,
            "completed_at": 1695312007,
            "error": null,
            "stopped_at": null
        }
    ],
    "doc_form": "text_model"
}
Modified at 2025-01-13 09:25:51
Previous
Add Chunks to a Document
Next
Update a Chunk in a Document
Built with