- A string (which will be used as the name with no description)
- A ContextCreateRequest object with name and description fields
- A list of strings for batch creation
- A list of ContextCreateRequest objects for batch creation
Authorizations
Bearer authentication header of the form
Bearer <token>
, where <token>
is your auth token.Path Parameters
Name of the project to create context in.
Body
Context name, can be nested using ’/’ (e.g., ‘parent/child’). Must contain only alphanumeric characters, underscores, and hyphens.
Optional description of the context
Whether the context should be versioned. If True, the context will be versioned and mutable.
Whether duplicate log entries are allowed in this context. If False, attempts to add duplicate logs will be ignored.
Unique key definition. Keys are column names, values are types (‘str’, ‘int’, ‘float’, ‘bool’, ‘datetime’, ‘time’, ‘date’, ‘timedelta’, ‘dict’, ‘list’).
Auto-counting configuration. Keys are column names to auto-increment, values are parent counter names (None for independent counters).