Parallel Works API (4.x.x)
OIDC login callback
This endpoint is called by the OIDC provider after the user has authenticated. It exchanges the authorization code for an access token and then uses the access token to get the user info.
Authorizations:
ApiKeyAuth
query Parameters
object |
Responses
Response samples
- 200
- default
Content type
application/json
null
Response samples
- 200
- default
Content type
application/json
{- "claims_supported": [
- "string"
], - "id_token_signing_alg_values_supported": [
- "string"
], - "issuer": "string",
- "jwks_uri": "string",
- "subject_types_supported": [
- "string"
]
}
Create OIDC auth method
Create an OIDC auth method for an organization
Authorizations:
ApiKeyAuth
path Parameters
orgName required | string |
Request Body schema: application/jsonrequired
authorizationEndpoint | string |
clientId | string |
clientSecret | string |
discoverEndpoints | boolean |
issuer | string |
name | string |
scopes | string |
tokenEndpoint | string |
userinfoEndpoint | string |
Responses
Request samples
- Payload
Content type
application/json
{- "authorizationEndpoint": "string",
- "clientId": "string",
- "clientSecret": "string",
- "discoverEndpoints": true,
- "issuer": "string",
- "name": "string",
- "scopes": "string",
- "tokenEndpoint": "string",
- "userinfoEndpoint": "string"
}
Response samples
- 200
- default
Content type
application/json
{- "AuthMethod": { }
}
Attach bucket to AI Chat
Attach a bucket using the bucket id to an AI Chat
Authorizations:
ApiKeyAuth
path Parameters
orgName required | string |
namespace required | string |
aiName required | string |
bucketId required | string |
Request Body schema: application/jsonrequired
refreshInterval | string |
Responses
Request samples
- Payload
Content type
application/json
{- "refreshInterval": "string"
}
Get AI Chat
Get AI Chat resource by name
Authorizations:
ApiKeyAuth
path Parameters
orgName required | string |
namespace required | string |
aiName required | string |
Responses
Response samples
- 200
- default
Content type
application/json
{- "csp": "string",
- "currentlyProvisioning": true,
- "expiresAt": { },
- "ingested": true,
- "name": "string",
- "namespace": "string",
- "provisionOutput": null,
- "provisioned": true,
- "variables": null
}
Create AI Chat
Create AI Chat resource
Authorizations:
ApiKeyAuth
path Parameters
orgName required | string |
namespace required | string |
Request Body schema: application/jsonrequired
baseInfraId | string |
csp | string |
description | string |
name | string |
tags | string |
team | string |
variables | github.com/parallelworks/core/packages/go/ingress/api/organizations/_orgName_/namespaces/_namespace_/aichat.Variables |
Responses
Request samples
- Payload
Content type
application/json
{- "baseInfraId": "string",
- "csp": "string",
- "description": "string",
- "name": "string",
- "tags": "string",
- "team": "string",
- "variables": null
}
Update provision status
Update the provision status of a cluster session
Authorizations:
ApiKeyAuth
path Parameters
orgName required | string |
namespace required | string |
clusterName required | string |
sessionNumber required | string |
Request Body schema: application/jsonrequired
provisionStatus | object |
Responses
Request samples
- Payload
Content type
application/json
{- "provisionStatus": { }
}
Create image
Create image
Authorizations:
ApiKeyAuth
Request Body schema: application/jsonrequired
architecture | string |
csp | string |
cspId | string |
name | string |
published | boolean |
region | string |
type | string |
Responses
Request samples
- Payload
Content type
application/json
{- "architecture": "string",
- "csp": "string",
- "cspId": "string",
- "name": "string",
- "published": true,
- "region": "string",
- "type": "string"
}
Response samples
- 200
- default
Content type
application/json
{- "architecture": "string",
- "created_at": { },
- "createdAt": { },
- "csp": "string",
- "cspId": "string",
- "id": { },
- "latest": true,
- "name": "string",
- "organization,omitempty": "string",
- "published": true,
- "region": "string",
- "type": "string",
- "updatedAt": { }
}
Update session access
Update session access by name and namespace, allowing access to specific groups
Authorizations:
ApiKeyAuth
path Parameters
namespace required | string |
name required | string |
Request Body schema: application/jsonrequired
access | boolean |
teamId | string |
Responses
Request samples
- Payload
Content type
application/json
{- "access": true,
- "teamId": "string"
}
Update session
Update the session with the provided name in the provided namespace
Authorizations:
ApiKeyAuth
path Parameters
namespace required | string |
name required | string |
Request Body schema: application/jsonrequired
localPort | integer |
name | string |
remoteHost | string |
remotePort | integer |
slug | string |
status | string |
targetId | string |
Responses
Request samples
- Payload
Content type
application/json
{- "localPort": 0,
- "name": "string",
- "remoteHost": "string",
- "remotePort": 0,
- "slug": "string",
- "status": "string",
- "targetId": "string"
}
Response samples
- 200
- default
Content type
application/json
null