API Reference / Steam accounts
Get the workspace's Steam Web API key status
Report whether the workspace has configured its workspace-tier Steam Web API key, and when and by whom it was last set. Never returns the key itself.
/ steam. v1. Steam/ GetWorkspaceAPIKeyRequest body
application/jsonRequired
Request for whether the caller's workspace has a workspace-tier Steam Web API key configured. Never returns the key.
No fields.
Response body
application/json
Success
configured?booleanWhether the workspace has a workspace-tier Steam Web API key configured.
keyPrefix?stringThe key's first four characters, for showing it masked. Unset when configured is false, and for a key set before the hint was stored until it is next set.
keySuffix?stringThe key's last four characters, for showing it masked. Unset exactly when key_prefix is.
updatedAt?stringWhen the key was last set. Unset when configured is false.
Format"date-time"
updatedBy?stringThe member who last set the key. Unset when configured is false.
Format"byte" base64
application/json
The request lacks a valid API key in the Authorization header.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
The API key is not allowed to perform this action on this workspace.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
An internal server error occurred.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
curl -X POST "https://api.goldmine.to/steam.v1.Steam/GetWorkspaceAPIKey" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'const res = await fetch("https://api.goldmine.to/steam.v1.Steam/GetWorkspaceAPIKey", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({}),
});
const data = await res.json();body := strings.NewReader(`{}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/steam.v1.Steam/GetWorkspaceAPIKey", body)
if err != nil {
return err
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("CSTRADER_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)import os, requests
res = requests.post(
"https://api.goldmine.to/steam.v1.Steam/GetWorkspaceAPIKey",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={},
)
data = res.json(){
"configured": true,
"updatedAt": "2026-06-29T11:45:00Z",
"updatedBy": "AY86PB0ufwCKGyw9Tl9gcQ=="
}{
"code": "unauthenticated",
"message": "The request lacks a valid API key in the Authorization header."
}{
"code": "permission_denied",
"message": "The API key is not allowed to perform this action on this workspace."
}{
"code": "internal",
"message": "An internal server error occurred."
}