geo-monitoring
geo-hotels

Create Experiment

Changed on

Create a later experiment (Experiment 2+) as a Draft with NO prompt generation — prompts are entered manually via create_prompt.

sequence_number is COALESCE(MAX(sequence_number), 0) + 1 per hotel; a uq_geo_experiments_hotel_sequence collision (concurrent create) recomputes and retries — mirroring the window-key race handling in run_due_geo_daily_scans.

post/api/v1/geo/hotels/{geo_hotel_id}/experiments

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/geo/hotels/{geo_hotel_id}/experiments
  • Auth: none declared

Path parameters

geo_hotel_idstring uuid required

Request body

titlestring required

Response

Successful Response

idstring uuid required
tenant_idstring uuid required
geo_hotel_idstring uuid required
sequence_numberinteger required
titlestring nullable
approved_atstring date-time nullable
daily_scan_enabledboolean
daily_scan_hourinteger nullable
samples_per_promptinteger nullable
model_by_platformobject
group_idstring uuid nullable
positionobject

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status