Skip to content
Primary navigation

Download a skill version zip bundle.

HttpResponse skills().versions().content().retrieve(ContentRetrieveParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/skills/{skill_id}/versions/{version}/content

Download a skill version zip bundle.

ParametersExpand Collapse
ContentRetrieveParams params
String skillId
Optional<String> version

The skill version number.

Download a skill version zip bundle.

package com.openai.example;

import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.core.http.HttpResponse;
import com.openai.models.skills.versions.content.ContentRetrieveParams;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        OpenAIClient client = OpenAIOkHttpClient.fromEnv();

        ContentRetrieveParams params = ContentRetrieveParams.builder()
            .skillId("skill_123")
            .version("version")
            .build();
        HttpResponse content = client.skills().versions().content().retrieve(params);
    }
}
Returns Examples