> For the complete documentation index, see [llms.txt](https://docs.superdesk.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.superdesk.org/api-reference/readme/planning.md). Agents can also search and read this documentation through its [MCP server](https://docs.superdesk.org/~gitbook/mcp).

# Planning

## List planning items

> Get list of planning items with elastic search query support

```json
{"openapi":"3.0.2","info":{"title":"Superdesk Production API","version":"2.0"},"servers":[{"url":"/prodapi/v1","description":"Production API v1 Server"}],"security":[{"oauth2Auth":["PLANNING_READ"]}],"components":{"securitySchemes":{"oauth2Auth":{"type":"oauth2","description":"OAuth 2.0 client credentials flow via Superdesk Auth Server.\n\nSee: https://superdesk.readthedocs.io/en/latest/auth_server.html\n","flows":{"clientCredentials":{"tokenUrl":"/api/auth_server/token","scopes":{"ARCHIVE_READ":"Read archive items","DESKS_READ":"Read desks","PLANNING_READ":"Read planning items","CONTACTS_READ":"Read contacts","USERS_READ":"Read users and user availability","ASSIGNMENTS_READ":"Read assignments","EVENTS_READ":"Read events, event files and event history","CONTENT_LISTS_READ":"Read content lists and their items"}}}}},"schemas":{"Planning":{"type":"object","description":"Planning item. Unlike Event, dates are exposed as planning_date and all_day.\nCoverage descriptions and keywords also include the legacy description_text\nand keyword aliases. Lock fields, item_class, flags and internal schedules\nare omitted by this endpoint.\n","allOf":[{"$ref":"#/components/schemas/ItemEditorialMetadata"},{"$ref":"#/components/schemas/ItemDetails"}],"properties":{"_id":{"type":"string"},"guid":{"type":"string"},"slugline":{"type":"string"},"description_text":{"type":"string"},"planning_date":{"type":"string","format":"date-time","description":"Start date and time of the planning item (mapped from dates.start)"},"all_day":{"type":"boolean","description":"Whether the planning item is scheduled for the whole day (mapped from dates.all_day)"},"type":{"type":"string","enum":["planning"]},"state":{"type":"string"},"related_events":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"link_type":{"type":"string","enum":["primary","secondary"]},"recurrence_id":{"type":"string","nullable":true}}}},"coverages":{"type":"array","nullable":true,"description":"Possible content coverages associated with the planning item","items":{"$ref":"#/components/schemas/Coverage"}},"_links":{"type":"object","description":"HATEOAS links to related resources","properties":{"assignments":{"type":"array","items":{"$ref":"#/components/schemas/HATEOASAssignment"}},"event":{"$ref":"#/components/schemas/HATEOASEvent"},"related_events":{"type":"array","items":{"$ref":"#/components/schemas/HATEOASEvent"}}}}}},"ItemEditorialMetadata":{"type":"object","description":"Editorial fields shared by events, planning items and coverage planning","properties":{"slugline":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"headline":{"type":"string","nullable":true},"abstract":{"type":"string","nullable":true},"definition_short":{"type":"string","nullable":true},"definition_long":{"type":"string","nullable":true},"internal_note":{"type":"string","nullable":true},"ednote":{"type":"string","nullable":true},"language":{"type":"string"},"languages":{"type":"array","items":{"type":"string"}},"priority":{"type":"integer","nullable":true},"urgency":{"type":"integer","nullable":true},"keywords":{"type":"array","nullable":true,"items":{"type":"string"}},"subject":{"type":"array","nullable":true,"items":{"allOf":[{"$ref":"#/components/schemas/VocabularyItem"}],"properties":{"scheme":{"type":"string","nullable":true},"parent":{"type":"string","nullable":true}}}},"anpa_category":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"calendars":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"agendas":{"type":"array","nullable":true,"items":{"type":"string"}},"genre":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"place":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Place"}}}},"VocabularyItem":{"type":"object","properties":{"qcode":{"type":"string"},"name":{"type":"string"},"translations":{"type":"object","nullable":true,"description":"Field names mapped to language codes and translated values","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}}}},"Place":{"type":"object","description":"Geographic classification; distinct from the venue in location","properties":{"qcode":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"scheme":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"locality":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"world_region":{"type":"string","nullable":true},"group":{"type":"string","nullable":true},"locality_code":{"type":"string","nullable":true},"state_code":{"type":"string","nullable":true},"country_code":{"type":"string","nullable":true},"world_region_code":{"type":"string","nullable":true},"feature_class":{"type":"string","nullable":true},"rel":{"type":"string","nullable":true},"location":{"$ref":"#/components/schemas/GeoPoint"}}},"GeoPoint":{"type":"object","nullable":true,"required":["lat","lon"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"}}},"ItemDetails":{"type":"object","description":"Event and planning logistics, contacts, attachments and custom data","properties":{"registration":{"type":"string","nullable":true},"registration_details":{"type":"string","nullable":true},"invitation_details":{"type":"string","nullable":true},"accreditation_info":{"type":"string","nullable":true},"accreditation_deadline":{"type":"string","format":"date","nullable":true},"reference":{"type":"string","nullable":true},"access_status":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"links":{"type":"array","nullable":true,"items":{"type":"string"}},"files":{"type":"array","nullable":true,"description":"File IDs resolved through /events_files/{_id}","items":{"type":"string"}},"location":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/EventLocation"}},"event_contact_info":{"type":"array","nullable":true,"description":"Contact IDs; local IDs resolve through /contacts/{_id}, external IDs need not exist locally","items":{"type":"string"}},"participant":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"participant_requirement":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"organizer":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"translations":{"type":"array","nullable":true,"items":{"type":"object","properties":{"field":{"type":"string"},"language":{"type":"string"},"value":{"type":"string"}}}},"relationships":{"type":"object","nullable":true,"properties":{"broader":{"type":"string","nullable":true},"narrower":{"type":"string","nullable":true},"related":{"type":"string","nullable":true}}},"company_codes":{"type":"array","nullable":true,"items":{"type":"object","properties":{"qcode":{"type":"string"},"name":{"type":"string"},"security_exchange":{"type":"string","nullable":true}}}},"word_count":{"type":"integer","nullable":true},"extra":{"type":"object","nullable":true,"additionalProperties":true}}},"EventLocation":{"type":"object","nullable":true,"description":"Venue, address and geographic coordinates","properties":{"name":{"type":"string"},"qcode":{"type":"string","nullable":true},"address":{"type":"object","nullable":true,"properties":{"line":{"type":"array","nullable":true,"items":{"type":"string"}},"city":{"type":"string","nullable":true},"locality":{"type":"string","nullable":true},"area":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"postal_code":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"boundingbox":{"type":"array","nullable":true,"items":{"type":"string"}},"title":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"extra":{"type":"object","nullable":true,"additionalProperties":true}}},"formatted_address":{"type":"string","nullable":true},"geo":{"type":"string","nullable":true},"location":{"$ref":"#/components/schemas/GeoPoint"},"details":{"type":"string","nullable":true},"extra":{"type":"object","nullable":true,"additionalProperties":true},"translations":{"type":"object","nullable":true,"additionalProperties":true}}},"Coverage":{"type":"object","description":"A possible content coverage associated with an event or planning item","properties":{"coverage_id":{"type":"string","description":"Unique identifier of the coverage"},"profile":{"type":"string","nullable":true,"description":"ID of the coverage profile"},"original_coverage_id":{"type":"string","nullable":true},"guid":{"type":"string","nullable":true},"original_creator":{"type":"string","nullable":true},"version_creator":{"type":"string","nullable":true},"firstcreated":{"type":"string","format":"date-time"},"versioncreated":{"type":"string","format":"date-time"},"previous_status":{"type":"string","nullable":true},"_time_to_be_confirmed":{"type":"boolean"},"add_coverage_to_workflow":{"type":"boolean"},"flags":{"type":"object","properties":{"no_content_linking":{"type":"boolean"}}},"news_coverage_status":{"type":"object","description":"News coverage status","properties":{"qcode":{"type":"string","enum":["ncostat:int","ncostat:notint","ncostat:notdec","ncostat:onreq"]},"name":{"type":"string"},"label":{"type":"string"}}},"workflow_status":{"type":"string","description":"Workflow status of the coverage","enum":["draft","active","ingested","scheduled","killed","cancelled","rescheduled","postponed","spiked"]},"assigned_to":{"$ref":"#/components/schemas/CoverageAssignedTo"},"planning":{"$ref":"#/components/schemas/CoveragePlanning"},"scheduled_updates":{"type":"array","description":"Scheduled updates associated with the coverage","items":{"$ref":"#/components/schemas/CoverageScheduledUpdate"}}}},"CoverageAssignedTo":{"type":"object","nullable":true,"description":"Assignment and contact information for the coverage","properties":{"assignment_id":{"type":"string","nullable":true},"state":{"type":"string","enum":["draft","assigned","in_progress","completed","submitted","cancelled"]},"contact":{"type":"string","nullable":true},"user":{"type":"string","nullable":true},"desk":{"type":"string","nullable":true},"coverage_provider":{"$ref":"#/components/schemas/CoverageProvider"},"assignor_desk":{"type":"string","nullable":true},"assignor_user":{"type":"string","nullable":true},"assigned_date_desk":{"type":"string","format":"date-time","nullable":true},"assigned_date_user":{"type":"string","format":"date-time","nullable":true},"priority":{"type":"integer","nullable":true}}},"CoverageProvider":{"type":"object","nullable":true,"properties":{"qcode":{"type":"string"},"name":{"type":"string"},"translations":{"type":"object","nullable":true,"additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"contact_type":{"type":"string","nullable":true}}},"CoveragePlanning":{"type":"object","allOf":[{"$ref":"#/components/schemas/ItemEditorialMetadata"}],"properties":{"scheduled":{"type":"string","format":"date-time"},"g2_content_type":{"type":"string","description":"Content type qcode; values depend on the installation's vocabulary"},"description_text":{"type":"string","description":"Legacy description alias included by the Planning endpoint"},"keyword":{"type":"array","description":"Legacy keywords alias included by the Planning endpoint","items":{"type":"string"}},"coverage_provider":{"$ref":"#/components/schemas/CoverageProvider"},"contact_info":{"type":"string","nullable":true},"workflow_status_reason":{"type":"string","nullable":true},"multiple_content":{"type":"boolean"},"fields":{"type":"array","nullable":true,"items":{"type":"object","properties":{"field":{"type":"string"},"value":{"type":"string"}}}},"location":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/EventLocation"}},"files":{"type":"array","nullable":true,"items":{"type":"string"}},"xmp_file":{"type":"string","nullable":true},"item_class":{"type":"string","nullable":true},"item_count":{"type":"integer","nullable":true},"service":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"news_content_characteristics":{"type":"array","nullable":true,"items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}}}},"planning_ext_property":{"type":"array","nullable":true,"items":{"type":"object","properties":{"qcode":{"type":"string"},"name":{"type":"string"},"value":{"type":"string"}}}},"by":{"type":"array","nullable":true,"items":{"type":"string"}},"credit_line":{"type":"array","nullable":true,"items":{"type":"string"}},"dateline":{"type":"array","nullable":true,"items":{"type":"string"}}}},"CoverageScheduledUpdate":{"type":"object","description":"A scheduled update for a coverage","properties":{"coverage_id":{"type":"string"},"scheduled_update_id":{"type":"string"},"news_coverage_status":{"type":"object","properties":{"qcode":{"type":"string","enum":["ncostat:int","ncostat:notint","ncostat:notdec","ncostat:onreq"]},"name":{"type":"string"},"label":{"type":"string"}}},"workflow_status":{"type":"string","enum":["draft","active","ingested","scheduled","killed","cancelled","rescheduled","postponed","spiked"]},"previous_status":{"type":"string","nullable":true,"enum":["draft","active","ingested","scheduled","killed","cancelled","rescheduled","postponed","spiked",null]},"assigned_to":{"$ref":"#/components/schemas/CoverageAssignedTo"},"planning":{"type":"object","properties":{"scheduled":{"type":"string","format":"date-time"},"internal_note":{"type":"string","nullable":true},"genre":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"contact_info":{"type":"string","nullable":true},"workflow_status_reason":{"type":"string","nullable":true},"multiple_content":{"type":"boolean"}}}}},"HATEOASAssignment":{"type":"object","description":"HATEOAS link to an Assignment resource","properties":{"title":{"type":"string"},"href":{"type":"string","description":"URL to the resource item"},"state":{"type":"string","enum":["draft","assigned","in_progress","completed","submitted","cancelled"],"description":"The state of the Assignment"},"scheduled":{"type":"string","format":"date-time","description":"The date & time the Assignment is due"},"content_type":{"type":"string","description":"Qcode of the type of content expected (g2_content_type)"},"content_href":{"type":"string","description":"The URL to the content (if any)"},"content_state":{"type":"string","description":"The state of the associated content"},"content_pubstatus":{"type":"string","description":"The pubstatus of the associated content"}}},"HATEOASEvent":{"type":"object","description":"HATEOAS link to an Event resource","properties":{"title":{"type":"string"},"href":{"type":"string","description":"URL to the resource item"}}},"Meta":{"type":"object","description":"Metadata about the response","properties":{"total":{"type":"integer","description":"Total number of items"},"page":{"type":"integer","description":"Current page number"},"max_results":{"type":"integer","description":"Maximum results per page"}}},"ErrorResponse":{"type":"object","required":["_status","_error"],"properties":{"_status":{"type":"string"},"_error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}},"_issues":{"type":"object","description":"Optional details about the error","additionalProperties":true}}}},"responses":{"Unauthorized":{"description":"Unauthorized - Invalid or missing access token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden - Access token does not have the required scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/planning":{"get":{"summary":"List planning items","description":"Get list of planning items with elastic search query support","tags":["Planning"],"parameters":[{"name":"source","in":"query","description":"Elasticsearch query in JSON format","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of planning items","content":{"application/json":{"schema":{"type":"object","properties":{"_items":{"type":"array","items":{"$ref":"#/components/schemas/Planning"}},"_meta":{"$ref":"#/components/schemas/Meta"}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}}}}}}
```

## Get planning details

> Retrieve a specific planning item by its GUID

```json
{"openapi":"3.0.2","info":{"title":"Superdesk Production API","version":"2.0"},"servers":[{"url":"/prodapi/v1","description":"Production API v1 Server"}],"security":[{"oauth2Auth":["PLANNING_READ"]}],"components":{"securitySchemes":{"oauth2Auth":{"type":"oauth2","description":"OAuth 2.0 client credentials flow via Superdesk Auth Server.\n\nSee: https://superdesk.readthedocs.io/en/latest/auth_server.html\n","flows":{"clientCredentials":{"tokenUrl":"/api/auth_server/token","scopes":{"ARCHIVE_READ":"Read archive items","DESKS_READ":"Read desks","PLANNING_READ":"Read planning items","CONTACTS_READ":"Read contacts","USERS_READ":"Read users and user availability","ASSIGNMENTS_READ":"Read assignments","EVENTS_READ":"Read events, event files and event history","CONTENT_LISTS_READ":"Read content lists and their items"}}}}},"parameters":{"guid":{"name":"guid","in":"path","description":"Unique identifier (GUID)","required":true,"schema":{"type":"string"}}},"schemas":{"Planning":{"type":"object","description":"Planning item. Unlike Event, dates are exposed as planning_date and all_day.\nCoverage descriptions and keywords also include the legacy description_text\nand keyword aliases. Lock fields, item_class, flags and internal schedules\nare omitted by this endpoint.\n","allOf":[{"$ref":"#/components/schemas/ItemEditorialMetadata"},{"$ref":"#/components/schemas/ItemDetails"}],"properties":{"_id":{"type":"string"},"guid":{"type":"string"},"slugline":{"type":"string"},"description_text":{"type":"string"},"planning_date":{"type":"string","format":"date-time","description":"Start date and time of the planning item (mapped from dates.start)"},"all_day":{"type":"boolean","description":"Whether the planning item is scheduled for the whole day (mapped from dates.all_day)"},"type":{"type":"string","enum":["planning"]},"state":{"type":"string"},"related_events":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"link_type":{"type":"string","enum":["primary","secondary"]},"recurrence_id":{"type":"string","nullable":true}}}},"coverages":{"type":"array","nullable":true,"description":"Possible content coverages associated with the planning item","items":{"$ref":"#/components/schemas/Coverage"}},"_links":{"type":"object","description":"HATEOAS links to related resources","properties":{"assignments":{"type":"array","items":{"$ref":"#/components/schemas/HATEOASAssignment"}},"event":{"$ref":"#/components/schemas/HATEOASEvent"},"related_events":{"type":"array","items":{"$ref":"#/components/schemas/HATEOASEvent"}}}}}},"ItemEditorialMetadata":{"type":"object","description":"Editorial fields shared by events, planning items and coverage planning","properties":{"slugline":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"headline":{"type":"string","nullable":true},"abstract":{"type":"string","nullable":true},"definition_short":{"type":"string","nullable":true},"definition_long":{"type":"string","nullable":true},"internal_note":{"type":"string","nullable":true},"ednote":{"type":"string","nullable":true},"language":{"type":"string"},"languages":{"type":"array","items":{"type":"string"}},"priority":{"type":"integer","nullable":true},"urgency":{"type":"integer","nullable":true},"keywords":{"type":"array","nullable":true,"items":{"type":"string"}},"subject":{"type":"array","nullable":true,"items":{"allOf":[{"$ref":"#/components/schemas/VocabularyItem"}],"properties":{"scheme":{"type":"string","nullable":true},"parent":{"type":"string","nullable":true}}}},"anpa_category":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"calendars":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"agendas":{"type":"array","nullable":true,"items":{"type":"string"}},"genre":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"place":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Place"}}}},"VocabularyItem":{"type":"object","properties":{"qcode":{"type":"string"},"name":{"type":"string"},"translations":{"type":"object","nullable":true,"description":"Field names mapped to language codes and translated values","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}}}},"Place":{"type":"object","description":"Geographic classification; distinct from the venue in location","properties":{"qcode":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"scheme":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"locality":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"world_region":{"type":"string","nullable":true},"group":{"type":"string","nullable":true},"locality_code":{"type":"string","nullable":true},"state_code":{"type":"string","nullable":true},"country_code":{"type":"string","nullable":true},"world_region_code":{"type":"string","nullable":true},"feature_class":{"type":"string","nullable":true},"rel":{"type":"string","nullable":true},"location":{"$ref":"#/components/schemas/GeoPoint"}}},"GeoPoint":{"type":"object","nullable":true,"required":["lat","lon"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"}}},"ItemDetails":{"type":"object","description":"Event and planning logistics, contacts, attachments and custom data","properties":{"registration":{"type":"string","nullable":true},"registration_details":{"type":"string","nullable":true},"invitation_details":{"type":"string","nullable":true},"accreditation_info":{"type":"string","nullable":true},"accreditation_deadline":{"type":"string","format":"date","nullable":true},"reference":{"type":"string","nullable":true},"access_status":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"links":{"type":"array","nullable":true,"items":{"type":"string"}},"files":{"type":"array","nullable":true,"description":"File IDs resolved through /events_files/{_id}","items":{"type":"string"}},"location":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/EventLocation"}},"event_contact_info":{"type":"array","nullable":true,"description":"Contact IDs; local IDs resolve through /contacts/{_id}, external IDs need not exist locally","items":{"type":"string"}},"participant":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"participant_requirement":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"organizer":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"translations":{"type":"array","nullable":true,"items":{"type":"object","properties":{"field":{"type":"string"},"language":{"type":"string"},"value":{"type":"string"}}}},"relationships":{"type":"object","nullable":true,"properties":{"broader":{"type":"string","nullable":true},"narrower":{"type":"string","nullable":true},"related":{"type":"string","nullable":true}}},"company_codes":{"type":"array","nullable":true,"items":{"type":"object","properties":{"qcode":{"type":"string"},"name":{"type":"string"},"security_exchange":{"type":"string","nullable":true}}}},"word_count":{"type":"integer","nullable":true},"extra":{"type":"object","nullable":true,"additionalProperties":true}}},"EventLocation":{"type":"object","nullable":true,"description":"Venue, address and geographic coordinates","properties":{"name":{"type":"string"},"qcode":{"type":"string","nullable":true},"address":{"type":"object","nullable":true,"properties":{"line":{"type":"array","nullable":true,"items":{"type":"string"}},"city":{"type":"string","nullable":true},"locality":{"type":"string","nullable":true},"area":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"postal_code":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"boundingbox":{"type":"array","nullable":true,"items":{"type":"string"}},"title":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"extra":{"type":"object","nullable":true,"additionalProperties":true}}},"formatted_address":{"type":"string","nullable":true},"geo":{"type":"string","nullable":true},"location":{"$ref":"#/components/schemas/GeoPoint"},"details":{"type":"string","nullable":true},"extra":{"type":"object","nullable":true,"additionalProperties":true},"translations":{"type":"object","nullable":true,"additionalProperties":true}}},"Coverage":{"type":"object","description":"A possible content coverage associated with an event or planning item","properties":{"coverage_id":{"type":"string","description":"Unique identifier of the coverage"},"profile":{"type":"string","nullable":true,"description":"ID of the coverage profile"},"original_coverage_id":{"type":"string","nullable":true},"guid":{"type":"string","nullable":true},"original_creator":{"type":"string","nullable":true},"version_creator":{"type":"string","nullable":true},"firstcreated":{"type":"string","format":"date-time"},"versioncreated":{"type":"string","format":"date-time"},"previous_status":{"type":"string","nullable":true},"_time_to_be_confirmed":{"type":"boolean"},"add_coverage_to_workflow":{"type":"boolean"},"flags":{"type":"object","properties":{"no_content_linking":{"type":"boolean"}}},"news_coverage_status":{"type":"object","description":"News coverage status","properties":{"qcode":{"type":"string","enum":["ncostat:int","ncostat:notint","ncostat:notdec","ncostat:onreq"]},"name":{"type":"string"},"label":{"type":"string"}}},"workflow_status":{"type":"string","description":"Workflow status of the coverage","enum":["draft","active","ingested","scheduled","killed","cancelled","rescheduled","postponed","spiked"]},"assigned_to":{"$ref":"#/components/schemas/CoverageAssignedTo"},"planning":{"$ref":"#/components/schemas/CoveragePlanning"},"scheduled_updates":{"type":"array","description":"Scheduled updates associated with the coverage","items":{"$ref":"#/components/schemas/CoverageScheduledUpdate"}}}},"CoverageAssignedTo":{"type":"object","nullable":true,"description":"Assignment and contact information for the coverage","properties":{"assignment_id":{"type":"string","nullable":true},"state":{"type":"string","enum":["draft","assigned","in_progress","completed","submitted","cancelled"]},"contact":{"type":"string","nullable":true},"user":{"type":"string","nullable":true},"desk":{"type":"string","nullable":true},"coverage_provider":{"$ref":"#/components/schemas/CoverageProvider"},"assignor_desk":{"type":"string","nullable":true},"assignor_user":{"type":"string","nullable":true},"assigned_date_desk":{"type":"string","format":"date-time","nullable":true},"assigned_date_user":{"type":"string","format":"date-time","nullable":true},"priority":{"type":"integer","nullable":true}}},"CoverageProvider":{"type":"object","nullable":true,"properties":{"qcode":{"type":"string"},"name":{"type":"string"},"translations":{"type":"object","nullable":true,"additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"contact_type":{"type":"string","nullable":true}}},"CoveragePlanning":{"type":"object","allOf":[{"$ref":"#/components/schemas/ItemEditorialMetadata"}],"properties":{"scheduled":{"type":"string","format":"date-time"},"g2_content_type":{"type":"string","description":"Content type qcode; values depend on the installation's vocabulary"},"description_text":{"type":"string","description":"Legacy description alias included by the Planning endpoint"},"keyword":{"type":"array","description":"Legacy keywords alias included by the Planning endpoint","items":{"type":"string"}},"coverage_provider":{"$ref":"#/components/schemas/CoverageProvider"},"contact_info":{"type":"string","nullable":true},"workflow_status_reason":{"type":"string","nullable":true},"multiple_content":{"type":"boolean"},"fields":{"type":"array","nullable":true,"items":{"type":"object","properties":{"field":{"type":"string"},"value":{"type":"string"}}}},"location":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/EventLocation"}},"files":{"type":"array","nullable":true,"items":{"type":"string"}},"xmp_file":{"type":"string","nullable":true},"item_class":{"type":"string","nullable":true},"item_count":{"type":"integer","nullable":true},"service":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"news_content_characteristics":{"type":"array","nullable":true,"items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}}}},"planning_ext_property":{"type":"array","nullable":true,"items":{"type":"object","properties":{"qcode":{"type":"string"},"name":{"type":"string"},"value":{"type":"string"}}}},"by":{"type":"array","nullable":true,"items":{"type":"string"}},"credit_line":{"type":"array","nullable":true,"items":{"type":"string"}},"dateline":{"type":"array","nullable":true,"items":{"type":"string"}}}},"CoverageScheduledUpdate":{"type":"object","description":"A scheduled update for a coverage","properties":{"coverage_id":{"type":"string"},"scheduled_update_id":{"type":"string"},"news_coverage_status":{"type":"object","properties":{"qcode":{"type":"string","enum":["ncostat:int","ncostat:notint","ncostat:notdec","ncostat:onreq"]},"name":{"type":"string"},"label":{"type":"string"}}},"workflow_status":{"type":"string","enum":["draft","active","ingested","scheduled","killed","cancelled","rescheduled","postponed","spiked"]},"previous_status":{"type":"string","nullable":true,"enum":["draft","active","ingested","scheduled","killed","cancelled","rescheduled","postponed","spiked",null]},"assigned_to":{"$ref":"#/components/schemas/CoverageAssignedTo"},"planning":{"type":"object","properties":{"scheduled":{"type":"string","format":"date-time"},"internal_note":{"type":"string","nullable":true},"genre":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VocabularyItem"}},"contact_info":{"type":"string","nullable":true},"workflow_status_reason":{"type":"string","nullable":true},"multiple_content":{"type":"boolean"}}}}},"HATEOASAssignment":{"type":"object","description":"HATEOAS link to an Assignment resource","properties":{"title":{"type":"string"},"href":{"type":"string","description":"URL to the resource item"},"state":{"type":"string","enum":["draft","assigned","in_progress","completed","submitted","cancelled"],"description":"The state of the Assignment"},"scheduled":{"type":"string","format":"date-time","description":"The date & time the Assignment is due"},"content_type":{"type":"string","description":"Qcode of the type of content expected (g2_content_type)"},"content_href":{"type":"string","description":"The URL to the content (if any)"},"content_state":{"type":"string","description":"The state of the associated content"},"content_pubstatus":{"type":"string","description":"The pubstatus of the associated content"}}},"HATEOASEvent":{"type":"object","description":"HATEOAS link to an Event resource","properties":{"title":{"type":"string"},"href":{"type":"string","description":"URL to the resource item"}}},"ErrorResponse":{"type":"object","required":["_status","_error"],"properties":{"_status":{"type":"string"},"_error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}},"_issues":{"type":"object","description":"Optional details about the error","additionalProperties":true}}}},"responses":{"Unauthorized":{"description":"Unauthorized - Invalid or missing access token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden - Access token does not have the required scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"NotFound":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/planning/{guid}":{"get":{"summary":"Get planning details","description":"Retrieve a specific planning item by its GUID","tags":["Planning"],"parameters":[{"$ref":"#/components/parameters/guid"}],"responses":{"200":{"description":"Planning details with HATEOAS links","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Planning"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.superdesk.org/api-reference/readme/planning.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
