Skip to main content
POST
/
api
/
v1
/
prompts
Create a prompt
curl --request POST \
  --url https://neo.api.projectdiscovery.io/api/v1/prompts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "title": "<string>",
  "category": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ],
  "visibility": "private"
}
'
{
  "prompt": {
    "content": "<string>",
    "copy_count": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "version": 123,
    "visibility": "private",
    "category": "<string>",
    "description": "<string>",
    "metadata": {},
    "source_prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "tags": [
      "<string>"
    ],
    "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

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

Body

application/json
content
string
required
Minimum string length: 1
title
string
required
Required string length: 1 - 255
category
string

Free-form category label

Maximum string length: 100
description
string
tags
string[]
visibility
enum<string>
default:private

Prompt visibility. Defaults to private. Set to team to share with your team.

Available options:
private,
team

Response

Prompt created

prompt
object
required