Skip to main content
POST
/
api
/
v1
/
memory
/
{task_id}
Create task working memory
curl --request POST \
  --url https://neo.api.projectdiscovery.io/api/v1/memory/{task_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "facts": [
    "<string>"
  ],
  "insights": [
    "<string>"
  ],
  "todos": [
    {
      "content": "<string>",
      "index": 1,
      "status": "pending"
    }
  ],
  "tracked_files": [
    {
      "path": "<string>",
      "type": "file",
      "summary": "<string>"
    }
  ],
  "user_runtime_input": [
    "<string>"
  ]
}
'
{
  "scope": "task",
  "success": true,
  "task_id": "<string>",
  "updated_at": "2023-11-07T05:31:56Z"
}

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

Path Parameters

task_id
string
required

The task ID to create working memory for

Body

application/json
facts
string[]
Maximum array length: 100
insights
string[]
Maximum array length: 100
todos
object[]
Maximum array length: 100
tracked_files
object[]
Maximum array length: 500
user_runtime_input
string[]
Maximum array length: 100

Response

Task working memory created successfully

scope
enum<string>
required
Available options:
task
success
boolean
required
task_id
string
required
updated_at
string<date-time>
required