returns Security
Single security by id.
| Name | Type | Description |
|---|---|---|
| securityId | String! | The security's id. |
| Field | Type | Description |
|---|---|---|
| id | ID! | — |
| entityId | String | — |
| entityName | String | — |
| sourceGraphId | String | — |
| name | String! | — |
| securityType | String! | — |
| securitySubtype | String | — |
| terms | JSON! | — |
| isActive | Boolean! | — |
| authorizedShares | Int | — |
| outstandingShares | Int | — |
| createdAt | DateTime! | — |
| updatedAt | DateTime! | — |
{ security(securityId: "...") { id entityId entityName sourceGraphId } }curl -X POST "https://api.robosystems.ai/extensions/$GRAPH_ID/graphql" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "{ security(securityId: \"...\") { id entityId entityName sourceGraphId } }"}'