Composway Docs
Tool reference

Get campaign

Get an AEO campaign's detail: SERP snapshot, analysis, brief, and search-intent-classification ids.

Tool name: get_campaign

Cost: Free - not billed, and does not draw on a plan quota.

Read-only

This tool only reads. It never creates or changes anything, so an assistant may call it without asking you first.

Get an AEO campaign's detail: SERP snapshot, analysis, brief, and search-intent-classification ids.

Parameters

ParameterTypeRequiredNotes
campaignIdstring (uuid)Yes-
Full input JSON Schema
{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"type": "object",
	"properties": {
		"campaignId": {
			"type": "string",
			"format": "uuid",
			"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
		}
	},
	"required": ["campaignId"]
}

Response

Full output JSON Schema
{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"type": "object",
	"properties": {
		"id": {
			"type": "string",
			"format": "uuid",
			"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
		},
		"title": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"type": "null"
				}
			]
		},
		"status": {
			"type": "string"
		},
		"serpSnapshotIds": {
			"type": "array",
			"items": {
				"type": "string",
				"format": "uuid",
				"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
			}
		},
		"contentAnalysisIds": {
			"type": "array",
			"items": {
				"type": "string",
				"format": "uuid",
				"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
			}
		},
		"contentBriefIds": {
			"type": "array",
			"items": {
				"type": "string",
				"format": "uuid",
				"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
			}
		},
		"searchIntentClassificationIds": {
			"type": "array",
			"items": {
				"type": "string",
				"format": "uuid",
				"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
			}
		},
		"searchIntents": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {},
				"additionalProperties": {}
			}
		},
		"location": {
			"anyOf": [
				{
					"type": "object",
					"properties": {},
					"additionalProperties": {}
				},
				{
					"type": "null"
				}
			]
		},
		"language": {
			"anyOf": [
				{
					"type": "object",
					"properties": {},
					"additionalProperties": {}
				},
				{
					"type": "null"
				}
			]
		},
		"painPoints": {
			"anyOf": [
				{
					"type": "array",
					"items": {
						"type": "object",
						"properties": {},
						"additionalProperties": {}
					}
				},
				{
					"type": "null"
				}
			]
		},
		"targetAudiences": {
			"anyOf": [
				{
					"type": "array",
					"items": {
						"type": "object",
						"properties": {
							"id": {
								"type": "string",
								"format": "uuid",
								"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
							},
							"name": {
								"type": "string"
							},
							"description": {
								"anyOf": [
									{
										"type": "string"
									},
									{
										"type": "null"
									}
								]
							}
						},
						"required": ["id", "name"],
						"additionalProperties": {}
					}
				},
				{
					"type": "null"
				}
			]
		},
		"targetPrompts": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"topic": {
						"type": "string"
					},
					"location": {
						"type": "object",
						"properties": {
							"id": {
								"type": "integer",
								"minimum": -9007199254740991,
								"maximum": 9007199254740991
							},
							"code": {
								"type": "string"
							},
							"isoCode": {
								"type": "string"
							},
							"name": {
								"type": "string"
							}
						},
						"required": ["id", "code", "isoCode", "name"],
						"additionalProperties": {}
					},
					"language": {
						"type": "object",
						"properties": {
							"id": {
								"type": "integer",
								"minimum": -9007199254740991,
								"maximum": 9007199254740991
							},
							"code": {
								"type": "string"
							},
							"isoCode": {
								"type": "string"
							},
							"name": {
								"type": "string"
							}
						},
						"required": ["id", "code", "isoCode", "name"],
						"additionalProperties": {}
					},
					"llmProviderIds": {
						"type": "array",
						"items": {
							"type": "string",
							"format": "uuid",
							"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
						}
					},
					"campaignId": {
						"type": "string",
						"format": "uuid",
						"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
					},
					"promptId": {
						"type": "string",
						"format": "uuid",
						"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
					},
					"targetAudiences": {
						"type": "array",
						"items": {
							"type": "string",
							"format": "uuid",
							"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
						}
					},
					"painPointConnected": {
						"type": "boolean"
					},
					"painPointId": {
						"anyOf": [
							{
								"type": "string",
								"format": "uuid",
								"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
							},
							{
								"type": "null"
							}
						]
					}
				},
				"required": ["topic", "location", "language"],
				"additionalProperties": {}
			}
		},
		"fanOutTriggered": {
			"type": "boolean"
		}
	},
	"required": ["id", "status", "searchIntents"],
	"additionalProperties": false
}

On this page