Get tags
Technical preview
POST
/_project/tags
Console
GET /_project/tags
resp = client.project.tags()
const response = await client.project.tags();
response = client.project.tags
$resp = $client->project()->tags();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_project/tags"
client.project().tags();
Response examples (200)
A successful response from `GET /_project/tags`
{
"origin": {
"c56c4f8849c64cc6ae59c261f40bd195": {
"_id": "c56c4f8849c64cc6ae59c261f40bd195"
"_type": "elasticsearch",
"_alias": "project-1",
"_csp": "aws",
"_region": "us-east-1"
"mytag1": "foo",
"mytag2": "bar"
}
},
"linked_projects": {
"a3b88ea3f195a336ae59c261f40bd195": {
"_id": "a3b88ea3f195a336ae59c261f40bd195"
"_type": "security",
"_alias": "project-2",
"_csp": "aws",
"_region": "us-east-1"
"mytag1": "foo",
"mytag2": "bar"
},
"f40bd195389s3761023ca7aa8a3r0932": {
"_id": "f40bd195389s3761023ca7aa8a3r0932"
"_type": "observability",
"_alias": "project-3",
"_csp": "aws",
"_region": "us-east-1"
"mytag1": "foo",
"mytag2": "bar"
}
}
}