Skip to main content
PATCH
/
entities
/
updateprompt
curl --request PATCH \
  --url https://api.geogen.io/v1/entities/updateprompt \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "promptId": "abc123def456...",
  "prompt": "What are the best tools for SEO in 2026?"
}
'
{
  "success": true,
  "prompt": {
    "id": "<string>",
    "prompt": "<string>",
    "language": "<string>",
    "geolocation": "<string>",
    "createdAt": 123
  }
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

API key authentication. Format: Bearer wsk_your_api_key

Body

application/json
promptId
string
required

Prompt ID to update

prompt
string

New prompt text

language
string

New language code (e.g., 'en', 'fr', 'de')

geolocation
string

New geolocation code (e.g., 'global', 'us', 'gb')

isActive
boolean

Set to false to pause tracking for this prompt, or true to re-activate it

Response

Prompt(s) updated successfully. Single mode returns the updated prompt; batch mode returns per-item results.

success
boolean
prompt
object