Get a component by id
curl --request GET \
--url https://{hostname}.gable.ai/v0/component/{id} \
--header 'X-API-KEY: <api-key>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"runId": "<string>",
"name": "<string>",
"ingresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": "<array>",
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"signatureName": "<string>"
}
],
"egresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": "<array>",
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"signatureName": "<string>"
}
],
"paths": [
{
"ingress": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codeAnchorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>"
},
"egress": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codeAnchorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>"
},
"codeAnchors": [
{
"anchorId": "<string>",
"name": "<string>",
"codeUri": {
"file": "<string>",
"lineStart": 123,
"columnStart": 123,
"lineEnd": 123,
"columnEnd": 123
},
"url": "<string>"
}
],
"fieldMappings": [
{
"ingressField": "<string>",
"egressField": "<string>",
"notes": "<string>"
}
],
"transformationSummary": "<string>",
"transformationSummaryDetailed": "<string>"
}
],
"type": "<string>",
"metadata": {
"extras": {}
}
}UUID of the component
Full component
The unique identifier for the component.
The ID of the run that the component belongs to
The name of the component.
The ingresses associated with the component.
Show child attributes
The egresses associated with the component.
Show child attributes
The paths associated with the component.
Show child attributes
The type of the component.
"CODE"Show child attributes
curl --request GET \
--url https://{hostname}.gable.ai/v0/component/{id} \
--header 'X-API-KEY: <api-key>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"runId": "<string>",
"name": "<string>",
"ingresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": "<array>",
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"signatureName": "<string>"
}
],
"egresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": "<array>",
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"signatureName": "<string>"
}
],
"paths": [
{
"ingress": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codeAnchorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>"
},
"egress": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codeAnchorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>"
},
"codeAnchors": [
{
"anchorId": "<string>",
"name": "<string>",
"codeUri": {
"file": "<string>",
"lineStart": 123,
"columnStart": 123,
"lineEnd": 123,
"columnEnd": 123
},
"url": "<string>"
}
],
"fieldMappings": [
{
"ingressField": "<string>",
"egressField": "<string>",
"notes": "<string>"
}
],
"transformationSummary": "<string>",
"transformationSummaryDetailed": "<string>"
}
],
"type": "<string>",
"metadata": {
"extras": {}
}
}