Skip to main content
GET
/
api
/
v1
/
knowledge
/
chunks
List knowledge chunks
curl --request GET \
  --url https://neo.api.projectdiscovery.io/api/v1/knowledge/chunks \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "results": [
    {
      "content": "<string>",
      "end_line": 123,
      "file_extension": "<string>",
      "file_type": "<string>",
      "id": "<string>",
      "index_name": "<string>",
      "is_test": true,
      "language": "<string>",
      "relative_path": "<string>",
      "start_line": 123
    }
  ],
  "success": true,
  "next_after_id": "<string>",
  "total": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT authentication token

Query Parameters

index_name
string

Filter by index name

is_global
enum<string>

Filter: 'true' = only global, 'false' = only user

Available options:
true,
false
limit
integer
default:50

Number of chunks to return (max 500)

Required range: 1 <= x <= 500
after_id
string

Cursor for pagination (chunk ID to start after)

Response

List of knowledge chunks

has_more
boolean
required
results
object[]
required
success
boolean
required
next_after_id
string
total
integer

Total number of chunks in the collection when available