For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.
Create event property
이 페이지는 아직 귀하의 언어로 번역되지 않았습니다. 현재 작업 중이므로 곧 다시 확인해 주십시오.
Creates an event property and adds it to the project's tracking plan
(is_in_schema: true after success). If the property already exists in
the schema, the existing resource is returned without modification.
If the property exists ingested-only (is_in_schema: false), this call
promotes it into the schema with the metadata supplied here.
/v1/projects/{project_id}/events/{event_id}/event-propertiesAuthorizations
Authorizationstringrequiredhttp
Path parameters
project_idstringrequiredAmplitude project identifier, backed by the canonical app ID.
12345pattern: ^[0-9]+$event_idstringrequiredPublic event identifier. This value is the event type name (the string used when sending the event to Amplitude).
min length: 1Header parameters
Idempotency-KeystringrequiredUnique idempotency key used to safely retry write operations.
min length: 8max length: 255Body
application/jsonproperty_namestringrequiredmin length: 1descriptionstringnullabledata_typestringLogical data type of a property. null means untyped at the source;
clients should treat it as string for ingestion.
stringnumberbooleanobjectenumanynullnullableis_array_typebooleanfalseregexstringnullableis_hiddenbooleanfalseenum_valuesstring[]classificationsstring[]Response
application/jsondataobjectrequiredShow child attributes
idstringrequiredStable resource identifier. Equal to property_name.
objectstringrequiredResource-type discriminator. Always event_property.
project_idstringrequiredpattern: ^[0-9]+$event_typestringrequiredEvent this property is bound to.
property_namestringrequireddescriptionstringnullableis_hiddenbooleanrequiredHidden from default UI surfaces and API listings.
is_in_schemabooleanrequiredWhether this property is part of the project's curated tracking
plan. false means ingested-only (seen via SDK calls but never
formally added). Properties with is_in_schema: false cannot be
modified — PATCH returns 422 not_in_schema and metadata writes
are rejected. POST implicitly transitions a property to
is_in_schema: true.
data_typestringLogical data type of a property. null means untyped at the source;
clients should treat it as string for ingestion.
stringnumberbooleanobjectenumanynullnullableis_array_typebooleanrequiredenum_valuesstring[]requiredregexstringnullableclassificationsstring[]requiredData Access Controls (DAC) tags. Examples include PII,
SENSITIVE, INTERNAL.
이 내용이 도움이 되었나요?