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>",
"signatureName": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
}
}
],
"egresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"signatureName": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<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,
"lineEnd": 123,
"columnStart": 123,
"columnEnd": 123
},
"url": "<string>"
}
],
"fieldMappings": [
{
"ingressField": "<string>",
"egressField": "<string>",
"notes": "<string>"
}
],
"transformationSummary": "<string>",
"transformationSummaryDetailed": "<string>"
}
],
"type": "<string>",
"metadata": {
"extras": {}
}
}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>",
"signatureName": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
}
}
],
"egresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"signatureName": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<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,
"lineEnd": 123,
"columnStart": 123,
"columnEnd": 123
},
"url": "<string>"
}
],
"fieldMappings": [
{
"ingressField": "<string>",
"egressField": "<string>",
"notes": "<string>"
}
],
"transformationSummary": "<string>",
"transformationSummaryDetailed": "<string>"
}
],
"type": "<string>",
"metadata": {
"extras": {}
}
}