curl --request GET \
--url https://app.octavehq.com/api/v2/segment/get \
--header 'api_key: <api-key>'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"oId": "<string>",
"createdAt": "<string>",
"name": "<string>",
"internalName": "<string>",
"description": "<string>",
"unrecognized": true,
"rejected": true,
"updatedAt": "<string>",
"deletedAt": "<string>",
"archivedAt": "<string>",
"active": true,
"data": {
"fitExplanation": "<string>",
"firmographics": {},
"keyPriorities": [
"<string>"
],
"keyConsiderations": [
"<string>"
],
"uniqueApproach": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"qualifyingQuestions": [
{
"question": "<string>",
"rationale": "<string>",
"fitType": "GOOD",
"weight": "MEDIUM",
"archivedAt": "<string>"
}
],
"user": {
"oId": "<string>",
"firstName": "John",
"lastName": "Doe"
},
"workspace": {
"oId": "<string>"
}
}Get Segment by OId
curl --request GET \
--url https://app.octavehq.com/api/v2/segment/get \
--header 'api_key: <api-key>'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"oId": "<string>",
"createdAt": "<string>",
"name": "<string>",
"internalName": "<string>",
"description": "<string>",
"unrecognized": true,
"rejected": true,
"updatedAt": "<string>",
"deletedAt": "<string>",
"archivedAt": "<string>",
"active": true,
"data": {
"fitExplanation": "<string>",
"firmographics": {},
"keyPriorities": [
"<string>"
],
"keyConsiderations": [
"<string>"
],
"uniqueApproach": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"qualifyingQuestions": [
{
"question": "<string>",
"rationale": "<string>",
"fitType": "GOOD",
"weight": "MEDIUM",
"archivedAt": "<string>"
}
],
"user": {
"oId": "<string>",
"firstName": "John",
"lastName": "Doe"
},
"workspace": {
"oId": "<string>"
}
}Segment OId
Segment data
Segment OId
Creation date
Segment name
Segment internal name
Segment description
Updated date
Show child attributes
Qualifying questions
Show child attributes
The question to ask to qualify the entity
The rationale for the question as to why it helps qualify
The fit type of the question
GOOD, BAD "GOOD"
The weight of the question
LOW, MEDIUM, HIGH, INSTANT_QUALIFIER, INSTANT_DISQUALIFIER "MEDIUM"
The date and time the question was archived