POST
/
v2
/
studio
/
deployment
/
prompt
Send a prompt to a deployment
curl --request POST \
  --url https://api.neynar.com/v2/studio/deployment/prompt \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "fid": 1,
  "deployment_name": "<string>",
  "prompt": "<string>",
  "action": "code-create",
  "options": {}
}'
"<any>"
This endpoint can take 5 to 10 minutes to return a response. For incremental progress updates as the prompt is processed, use the streaming endpoint instead.

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Body

application/json
fid
integer | null
required

Farcaster ID of the user

Required range: x >= 0
deployment_name
string
required

Kubernetes deployment name

prompt
string
required

Prompt string to send to the deployment

action
enum<string>
default:code-create

Action type for prompt-based operations

Available options:
code-create,
code-edit,
debug,
info,
logs
options
object

Additional options for the prompt

Response

Success

Response from the deployment